Added: HP Conf
This commit is contained in:
		
							
								
								
									
										25
									
								
								flake.nix
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								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;
 | 
			
		||||
            }
 | 
			
		||||
          ];
 | 
			
		||||
        }; 
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user