feat(gs/system): Conditionally add private.nix
I have some secret stuff here (not security-secret, just secret that I'm installing it in my system) so this has to be conditionally included Change-Id: Idb12e5bbab507ad3dc5eb610199fd384789c0e20 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3491 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
		
							parent
							
								
									3ce45e8d9f
								
							
						
					
					
						commit
						930a11d009
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1,6 +1,7 @@ | ||||||
| { pkgs, lib, config, ... }: | { pkgs, lib, config, ... }: | ||||||
| 
 | 
 | ||||||
| let | let | ||||||
|  |   inherit (builtins) pathExists; | ||||||
|   laptopKeyboardId = "5"; |   laptopKeyboardId = "5"; | ||||||
| in | in | ||||||
| 
 | 
 | ||||||
|  | @ -9,7 +10,7 @@ in | ||||||
|     ../platforms/linux.nix |     ../platforms/linux.nix | ||||||
|     ../modules/common.nix |     ../modules/common.nix | ||||||
|     ../modules/development/readyset.nix |     ../modules/development/readyset.nix | ||||||
|   ]; |   ] ++ (lib.optional (pathExists ../modules/private.nix) ../modules/private.nix); | ||||||
| 
 | 
 | ||||||
|   # for when hacking |   # for when hacking | ||||||
|   programs.home-manager.enable = true; |   programs.home-manager.enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue