monolith: enable auto updates
This commit is contained in:
		
							parent
							
								
									c6c4417aeb
								
							
						
					
					
						commit
						59c5099cd6
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -173,4 +173,16 @@ in
 | 
			
		|||
  #     size = (1024 * 16) + (1024 * 2); # RAM size + 2 GB
 | 
			
		||||
  #   }
 | 
			
		||||
  # ];
 | 
			
		||||
 | 
			
		||||
  system.autoUpgrade = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dates = "04:40";
 | 
			
		||||
    operation = "switch";
 | 
			
		||||
    flags = [
 | 
			
		||||
      "--update-input"
 | 
			
		||||
      "nixpkgs"
 | 
			
		||||
      "--print-build-logs"
 | 
			
		||||
    ];
 | 
			
		||||
    flake = "/home/lelgenio/projects/nixos-config#monolith";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue