forked from fabian/nix
		
	flake: add default values for mkSystemFlake paths
This commit is contained in:
		
							parent
							
								
									3a3d73d5b6
								
							
						
					
					
						commit
						ae5315326a
					
				
					 2 changed files with 4 additions and 10 deletions
				
			
		|  | @ -41,14 +41,14 @@ | |||
|           flakes, | ||||
|           system, | ||||
|           formatter ? "alejandra", | ||||
|           localOverlayPath ? null, | ||||
|           nixpkgsConfigPath ? null, | ||||
|           nixosSourcePath ? null, | ||||
|           localOverlayPath ? /. + "${flakes.self}" + /pkgs, | ||||
|           nixpkgsConfigPath ? localOverlayPath + /config, | ||||
|           nixosSourcePath ? /. + "${flakes.self}" + /sys, | ||||
|           nixosPlatformsPath ? | ||||
|             if nixosSourcePath != null | ||||
|             then nixosSourcePath + /platform | ||||
|             else null, | ||||
|           hmSourcePath ? null, | ||||
|           hmSourcePath ? /. + "${flakes.self}" + /home, | ||||
|           hmPlatformsPath ? | ||||
|             if hmSourcePath != null | ||||
|             then hmSourcePath + /platform | ||||
|  |  | |||
|  | @ -24,11 +24,5 @@ | |||
|     trivium.lib.mkSystemFlake { | ||||
|       system = "x86_64-linux"; | ||||
|       inherit flakes; | ||||
| 
 | ||||
|       localOverlayPath = ./pkgs; | ||||
|       nixpkgsConfigPath = ./pkgs/config; | ||||
| 
 | ||||
|       hmSourcePath = ./home; | ||||
|       nixosSourcePath = ./sys; | ||||
|     }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alejandro Soto
						Alejandro Soto