nix fmt rfc
This commit is contained in:
		
							parent
							
								
									c42abbc902
								
							
						
					
					
						commit
						c549839b19
					
				
					 42 changed files with 438 additions and 352 deletions
				
			
		|  | @ -6,9 +6,11 @@ | |||
|   ... | ||||
| }: | ||||
| with lib; | ||||
| with lib.wyrdgard; let | ||||
| with lib.wyrdgard; | ||||
| let | ||||
|   cfg = config.wyrdgard.submodules.basics; | ||||
| in { | ||||
| in | ||||
| { | ||||
|   options.wyrdgard.submodules.basics = with types; { | ||||
|     enable = mkBoolOpt false "Whether or not to enable basic configuration."; | ||||
|   }; | ||||
|  |  | |||
|  | @ -6,17 +6,17 @@ | |||
|   ... | ||||
| }: | ||||
| with lib; | ||||
| with lib.wyrdgard; let | ||||
| with lib.wyrdgard; | ||||
| let | ||||
|   cfg = config.wyrdgard.submodules.games; | ||||
| in { | ||||
| in | ||||
| { | ||||
|   options.wyrdgard.submodules.games = with types; { | ||||
|     enable = mkBoolOpt false "Whether or not you want to enable steam and other games"; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|       prismlauncher | ||||
|     ]; | ||||
|     environment.systemPackages = with pkgs; [ prismlauncher ]; | ||||
| 
 | ||||
|     wyrdgard = { | ||||
|       apps = { | ||||
|  |  | |||
|  | @ -6,9 +6,11 @@ | |||
|   ... | ||||
| }: | ||||
| with lib; | ||||
| with lib.wyrdgard; let | ||||
| with lib.wyrdgard; | ||||
| let | ||||
|   cfg = config.wyrdgard.submodules.graphical-interface; | ||||
| in { | ||||
| in | ||||
| { | ||||
|   options.wyrdgard.submodules.graphical-interface = with types; { | ||||
|     enable = mkBoolOpt false "Whether to enable a graphical interface"; | ||||
|   }; | ||||
|  |  | |||
|  | @ -6,9 +6,11 @@ | |||
|   ... | ||||
| }: | ||||
| with lib; | ||||
| with lib.wyrdgard; let | ||||
| with lib.wyrdgard; | ||||
| let | ||||
|   cfg = config.wyrdgard.submodules.socials; | ||||
| in { | ||||
| in | ||||
| { | ||||
|   options.wyrdgard.submodules.socials = with types; { | ||||
|     enable = mkBoolOpt false "Whether to enable social apps"; | ||||
|   }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue