Advertisement
JaKooLit

nixos-hyprland-flakes

Jan 27th, 2025
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. {
  2. description = "KooL's NixOS-Hyprland";
  3.  
  4. inputs = {
  5. nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
  6. nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
  7. #nixpkgs.url = "nixpkgs/nixos-unstable";
  8. #hyprland.url = "github:hyprwm/Hyprland"; # hyprland development
  9. ags.url = "github:aylur/ags/v1"; # aylurs-gtk-shell-v1
  10. distro-grub-themes.url = "github:AdisonCavani/distro-grub-themes";
  11. };
  12.  
  13. outputs =
  14. inputs@{ self, nixpkgs, nixpkgs-unstable ... }:
  15. let
  16. system = "x86_64-linux";
  17. host = "Desktop-NixOS";
  18. username = "ja";
  19.  
  20. unstable = import nixpkgs-unstable {
  21. inherit system;
  22. config = {
  23. allowUnfree = true;
  24. };
  25. };
  26.  
  27. pkgs = import nixpkgs {
  28. inherit system;
  29. config = {
  30. allowUnfree = true;
  31. };
  32. };
  33. in
  34. {
  35. nixosConfigurations = {
  36. "${host}" = nixpkgs.lib.nixosSystem rec {
  37. specialArgs = {
  38. inherit system;
  39. inherit inputs;
  40. inherit username;
  41. inherit host;
  42. inherit unstable;
  43. };
  44. modules = [
  45. ./hosts/${host}/config.nix
  46. inputs.distro-grub-themes.nixosModules.${system}.default
  47.  
  48. ];
  49. };
  50. };
  51. };
  52. }
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement