update autoUpgrade settings
https://discourse.nixos.org/t/best-practices-for-auto-upgrades-of-flake-enabled-nixos-systems/31255/2
This commit is contained in:
		
							parent
							
								
									e98b2431c4
								
							
						
					
					
						commit
						8e62b79cb8
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		|  | @ -243,9 +243,16 @@ in { | |||
|   }; | ||||
| 
 | ||||
|   system.autoUpgrade = { | ||||
|     allowReboot = true; | ||||
|     enable = true; | ||||
|     flake = "nixedo"; | ||||
|     flake = inputs.self.outPath; | ||||
|     flags = [ | ||||
|       "--update-input" | ||||
|       "nixpkgs" | ||||
|       "--no-write-lock-file" | ||||
|       "-L" # print build logs | ||||
|     ]; | ||||
|     dates = "08:00"; | ||||
|     randomizedDelaySec = "45min"; | ||||
|   }; | ||||
| 
 | ||||
|   services.gvfs.enable = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue