diff --git a/flake.nix b/flake.nix index ae00cf4..6b298fd 100644 --- a/flake.nix +++ b/flake.nix @@ -106,7 +106,30 @@ home-manager.users.${username} = import ./users/${username}/home.nix; } ]; - }; + }; + + hp15-n028sg = let + username = "phil"; + specialArgs = {inherit username;}; + in + nixpkgs.lib.nixosSystem { + inherit specialArgs; + system = "x86_64-linux"; + + modules = [ + ./hosts/hp15-n028sg + ./users/${username}/nixos.nix + + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + + home-manager.extraSpecialArgs = inputs // specialArgs; + home-manager.users.${username} = import ./users/${username}/home.nix; + } + ]; + }; }; }; }