diff options
Diffstat (limited to 'home-config/nix-home-manager/flake.nix')
| -rw-r--r-- | home-config/nix-home-manager/flake.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/home-config/nix-home-manager/flake.nix b/home-config/nix-home-manager/flake.nix index 419cf50..becb34f 100644 --- a/home-config/nix-home-manager/flake.nix +++ b/home-config/nix-home-manager/flake.nix | |||
| @@ -13,23 +13,24 @@ | |||
| 13 | inputs.nixpkgs.follows = "nixpkgs"; | 13 | inputs.nixpkgs.follows = "nixpkgs"; |
| 14 | }; | 14 | }; |
| 15 | hyprland = { | 15 | hyprland = { |
| 16 | url = "github:hyprwm/hyprland/main"; | 16 | url = "github:hyprwm/hyprland/v0.44.1"; |
| 17 | inputs.nixpkgs.follows = "nixpkgs"; | 17 | inputs.nixpkgs.follows = "nixpkgs"; |
| 18 | inputs.aquamarine.url = "github:hyprwm/aquamarine/main"; | ||
| 19 | }; | 18 | }; |
| 20 | nixgl = { | 19 | nixgl = { |
| 21 | url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a"; | 20 | url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a"; |
| 22 | inputs.nixpkgs.follows = "nixpkgs"; | 21 | inputs.nixpkgs.follows = "nixpkgs"; |
| 23 | }; | 22 | }; |
| 23 | mozff.url = "github:mozilla/nixpkgs-mozilla"; | ||
| 24 | }; | 24 | }; |
| 25 | 25 | ||
| 26 | outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, ... }@inputs: | 26 | outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, mozff, ... }@inputs: |
| 27 | let | 27 | let |
| 28 | system = "x86_64-linux"; | 28 | system = "x86_64-linux"; |
| 29 | pkgs = nixpkgs.legacyPackages.${system}; | 29 | pkgs = nixpkgs.legacyPackages.${system}; |
| 30 | overlays = [ | 30 | overlays = [ |
| 31 | hyprpicker-git.overlays.default | 31 | hyprpicker-git.overlays.default |
| 32 | nixgl.overlay | 32 | nixgl.overlay |
| 33 | mozff.overlays.firefox | ||
| 33 | ]; | 34 | ]; |
| 34 | in { | 35 | in { |
| 35 | homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration { | 36 | homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration { |
| @@ -38,8 +39,8 @@ | |||
| 38 | # Specify your home configuration modules here, for example, | 39 | # Specify your home configuration modules here, for example, |
| 39 | # the path to your home.nix. | 40 | # the path to your home.nix. |
| 40 | modules = [ | 41 | modules = [ |
| 41 | ./home.nix | ||
| 42 | {nixpkgs.overlays = overlays;} | 42 | {nixpkgs.overlays = overlays;} |
| 43 | ./home.nix | ||
| 43 | { | 44 | { |
| 44 | _module.args = { | 45 | _module.args = { |
| 45 | inherit hyprland; | 46 | inherit hyprland; |
| @@ -50,7 +51,7 @@ | |||
| 50 | 51 | ||
| 51 | # Optionally use extraSpecialArgs | 52 | # Optionally use extraSpecialArgs |
| 52 | # to pass through arguments to home.nix | 53 | # to pass through arguments to home.nix |
| 53 | #extraSpecialArgs = { inherit inputs; }; | 54 | # extraSpecialArgs = { inherit overlays; }; |
| 54 | }; | 55 | }; |
| 55 | }; | 56 | }; |
| 56 | } | 57 | } |
