feat: slippi init config
This commit is contained in:
		
							parent
							
								
									cbb415fd66
								
							
						
					
					
						commit
						170cfe7f3c
					
				
					 8 changed files with 149 additions and 3 deletions
				
			
		|  | @ -26,6 +26,9 @@ in | |||
|       hyprland = { | ||||
|         enable = lib.mkEnableOption "Enable the hyprland profile"; | ||||
|       }; | ||||
|       gaming = { | ||||
|         enable = lib.mkEnableOption "Enable the gaming profile"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
|    | ||||
|  |  | |||
|  | @ -0,0 +1,18 @@ | |||
| { config, lib, ... }: | ||||
| let | ||||
|   cfg = config.profiles.gaming; | ||||
| in | ||||
| { | ||||
| 
 | ||||
|   imports = [ | ||||
|     ../../modules | ||||
|   ]; | ||||
|    | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     homeModules.desktop = { | ||||
|       gaming = { | ||||
|         slippi.enable = true; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue