mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 09:22:11 +01:00 
			
		
		
		
	machines/nix: enable autoUpgrade
This commit is contained in:
		
							parent
							
								
									ed712b28a8
								
							
						
					
					
						commit
						7da4fa1bf1
					
				
					 1 changed files with 5 additions and 6 deletions
				
			
		|  | @ -27,12 +27,11 @@ | |||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   # support auto upgrade with flakes | ||||
|   system.autoUpgrade.flags = [ | ||||
|     "--update-input" | ||||
|     "nixpkgs" | ||||
|     "--commit-lock-file" | ||||
|   ]; | ||||
|   # auto upgrade with own flakes | ||||
|   system.autoUpgrade = { | ||||
|     enable = true; | ||||
|     flake = "github:Stunkymonkey/nixos"; | ||||
|   }; | ||||
| 
 | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     nix-index | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler