ghost: enabled automatic updates
This commit is contained in:
		
							parent
							
								
									5ee50a33b2
								
							
						
					
					
						commit
						6ff6428277
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,15 @@
 | 
			
		|||
    identityPaths = [ "/root/.ssh/id_rsa" ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  system.autoUpgrade = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dates = "04:40";
 | 
			
		||||
    allowReboot = true;
 | 
			
		||||
    operation = "switch";
 | 
			
		||||
    flags = [ "--update-input" "nixpkgs" "--no-write-lock-file" "-L" ];
 | 
			
		||||
    flake = "github:lelgenio/nixos-config#ghost";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  system.stateVersion = "23.05"; # Never change this
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue