mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 05:40:05 +00:00 
			
		
		
		
	[general] add work and gaming user, tweak configs
feat: added new ssh configuration modules for home-manager feat: add user work with configurations for my work environment feat: added gaming user with configuration for my gaming enviornment eg. lutris and steam Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
		
							parent
							
								
									75e635ad4b
								
							
						
					
					
						commit
						339bd28d1d
					
				
					 14 changed files with 280 additions and 58 deletions
				
			
		
							
								
								
									
										35
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										35
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -20,8 +20,8 @@ | |||
| 
 | ||||
|     # Haumea (map directory structure into an attribute set) | ||||
|     haumea = { | ||||
|           url = "github:nix-community/haumea/v0.2.2"; | ||||
|           inputs.nixpkgs.follows = "nixpkgs"; | ||||
|       url = "github:nix-community/haumea/v0.2.2"; | ||||
|       inputs.nixpkgs.follows = "nixpkgs"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|  | @ -38,23 +38,17 @@ | |||
|     # It takes each system as an argument | ||||
|     forAllSystems = nixpkgs.lib.genAttrs systems; | ||||
|   in { | ||||
|     # My custom packages | ||||
|     # My custom packagess | ||||
|     packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system}); | ||||
| 
 | ||||
|     # External resources (wallpapers, icons, dotfiles) | ||||
|     resources = import ./resources; | ||||
| 
 | ||||
|     # My reusable modules for nixos | ||||
|     nixosModules = haumea.lib.load { | ||||
|       src = ./modules/nixos; | ||||
|       inputs = { inherit inputs outputs; pkgs = nixpkgs.legacyPackages.x86_64-linux; }; | ||||
|     }; | ||||
|     nixosModules = import ./modules/nixos; | ||||
| 
 | ||||
|     # My reusable modules for home-manager | ||||
|     homeManagerModules = haumea.lib.load { | ||||
|       src = ./modules/home-manager; | ||||
|       inputs = { inherit inputs outputs; pkgs = nixpkgs.legacyPackages.x86_64-linux; }; | ||||
|     }; | ||||
|     homeManagerModules = import ./modules/home-manager; | ||||
| 
 | ||||
|     # NixOS configuration entrypoint | ||||
|     # Available through 'nixos-rebuild --flake .#your-hostname' | ||||
|  | @ -62,6 +56,7 @@ | |||
|       puzzlevision = nixpkgs.lib.nixosSystem { | ||||
|         specialArgs = {inherit inputs outputs;}; | ||||
|         modules = [ | ||||
|           home-manager.nixosModules.home-manager | ||||
|           ./hosts/puzzlevision/configuration.nix | ||||
|         ]; | ||||
|       }; | ||||
|  | @ -74,7 +69,23 @@ | |||
|         pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||||
|         extraSpecialArgs = {inherit inputs outputs;}; | ||||
|         modules = [ | ||||
|           ./users/jo_puzzlevision/home.nix | ||||
|           ./users/jo/home.nix | ||||
|         ]; | ||||
|       }; | ||||
| 
 | ||||
|       "work@puzzlevision" = home-manager.lib.homeManagerConfiguration { | ||||
|         pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||||
|         extraSpecialArgs = {inherit inputs outputs;}; | ||||
|         modules = [ | ||||
|           ./users/work/home.nix | ||||
|         ]; | ||||
|       }; | ||||
| 
 | ||||
|       "gaming@puzzlevision" = home-manager.lib.homeManagerConfiguration { | ||||
|         pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||||
|         extraSpecialArgs = {inherit inputs outputs;}; | ||||
|         modules = [ | ||||
|           ./users/gaming/home.nix | ||||
|         ]; | ||||
|       }; | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue