Add auto-updates

hexmani.ac e73376a1 86b45dc2

verified
Changed files
+16
+16
configuration.nix
··· 23 23 ]; 24 24 }; 25 25 26 + nix.gc = { 27 + automatic = true; 28 + dates = "weekly"; 29 + options = "--delete-older-than 30d"; 30 + }; 31 + 32 + system.autoUpgrade = { 33 + enable = true; 34 + dates = "weekly"; 35 + allowReboot = true; 36 + rebootWindow = { 37 + lower = "04:00"; 38 + upper = "06:00"; 39 + }; 40 + }; 41 + 26 42 environment.variables.EDITOR = "nano"; 27 43 28 44 system.stateVersion = "25.05";