forked from jan-leila/nix-config
		
	fixed nix-darwin building
This commit is contained in:
		
							parent
							
								
									0d0443a02a
								
							
						
					
					
						commit
						5f21fd43ff
					
				
					 14 changed files with 201 additions and 105 deletions
				
			
		
							
								
								
									
										27
									
								
								modules/darwin-modules/system.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								modules/darwin-modules/system.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,27 @@ | |||
| {self, ...}: { | ||||
|   system.configurationRevision = self.rev or self.dirtyRev or null; | ||||
| 
 | ||||
|   nix = { | ||||
|     gc = { | ||||
|       automatic = true; | ||||
|       interval = [ | ||||
|         { | ||||
|           Hour = 4; | ||||
|           Minute = 15; | ||||
|           Weekday = 7; | ||||
|         } | ||||
|       ]; | ||||
|       options = "--delete-older-than 7d"; | ||||
|     }; | ||||
|     optimise = { | ||||
|       automatic = true; | ||||
|       interval = [ | ||||
|         { | ||||
|           Hour = 4; | ||||
|           Minute = 15; | ||||
|           Weekday = 7; | ||||
|         } | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue