further improvements
This commit is contained in:
		
							parent
							
								
									8f6e59d683
								
							
						
					
					
						commit
						eb46317121
					
				
					 7 changed files with 41 additions and 31 deletions
				
			
		|  | @ -1,9 +1,4 @@ | |||
| { options | ||||
| , config | ||||
| , lib | ||||
| , pkgs | ||||
| , ... | ||||
| }: | ||||
| { options, config, lib, pkgs, ... }: | ||||
| with lib; | ||||
| with lib.wyrdgard; | ||||
| let | ||||
|  | @ -16,7 +11,11 @@ in | |||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     environment.systemPackages = [ | ||||
|       neofetch | ||||
| 
 | ||||
|       fd | ||||
|       tree | ||||
|       ripgrep | ||||
|     ]; | ||||
| 
 | ||||
|     wyrdgard = { | ||||
|  |  | |||
|  | @ -1,9 +1,8 @@ | |||
| { options, config, lib, pkgs, ... }: | ||||
| 
 | ||||
| with lib; | ||||
| with lib.wyrdgard; | ||||
| 
 | ||||
| let cfg = config.wyrdgard.submodules.games; | ||||
| let | ||||
|   cfg = config.wyrdgard.submodules.games; | ||||
| in | ||||
| { | ||||
|   options.wyrdgard.submodules.games = with types; { | ||||
|  | @ -11,6 +10,10 @@ in | |||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|     			prismlauncher | ||||
|     		]; | ||||
|      | ||||
|     wyrdgard = { | ||||
|       apps = { | ||||
|         steam = enabled; | ||||
|  |  | |||
|  | @ -10,5 +10,15 @@ in | |||
|     enable = mkBoolOpt false "Whether to enable a graphical interface"; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     services.xserver = { | ||||
|       enable = true; | ||||
|       displayManager.sddm = { | ||||
|         enable = true; | ||||
|         wayland.enable = true; | ||||
|       }; | ||||
|       desktopManager.plasma5.enable = true; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 christoph.hollizeck
						christoph.hollizeck