Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix missing nix.package in standalone home-manager

+25 -16
+25 -16
flake.nix
··· 177 177 }; 178 178 }; 179 179 }; 180 - homeConfigurations."noah" = home-manager.lib.homeManagerConfiguration { 181 - pkgs = import nixpkgs { 180 + homeConfigurations."noah" = 181 + let 182 182 system = "x86_64-linux"; 183 - config.allowUnfree = true; 184 - }; 185 - # Specify your home configuration modules here, for example, 186 - # the path to your home.nix. 187 - modules = [ 188 - ./default-home.nix 189 - ]; 190 - 191 - # Optionally use extraSpecialArgs 192 - # to pass through arguments to home.nix 193 - extraSpecialArgs = { 183 + pkgs = import nixpkgs { 184 + inherit system; 185 + config.allowUnfree = true; 186 + }; 194 187 unstable = import nixpkgs-unstable { 195 - system = "x86_64-linux"; 188 + inherit system; 196 189 config.allowUnfree = true; 197 190 }; 198 - inputs = inputs; 191 + in 192 + home-manager.lib.homeManagerConfiguration { 193 + inherit pkgs; 194 + # Specify your home configuration modules here, for example, 195 + # the path to your home.nix. 196 + modules = [ 197 + ./default-home.nix 198 + { 199 + nix.package = pkgs.nix; 200 + } 201 + ]; 202 + 203 + # Optionally use extraSpecialArgs 204 + # to pass through arguments to home.nix 205 + extraSpecialArgs = { 206 + inherit unstable; 207 + inputs = inputs; 208 + }; 199 209 }; 200 - }; 201 210 checks = forAllSystems (system: { 202 211 pre-commit-check = pre-commit-hooks.lib.${system}.run { 203 212 src = ./.;