Add auto-update and maintenance options to system module

This commit is contained in:
ashisgreat22 2026-03-19 00:03:54 +01:00
parent 99c23a1aa5
commit abf2080f91
2 changed files with 71 additions and 5 deletions

View file

@ -48,10 +48,13 @@
# Then add the public key to .sops.yaml
};
# === Automatic Updates ===
system.autoUpgrade = {
enable = true;
allowReboot = false;
# === System Maintenance & Updates ===
myModules.system = {
mainUser = "ashie";
autoUpdate = {
enable = true;
allowReboot = false; # Set to true to allow automatic reboots for kernel updates
};
};
system.stateVersion = "23.11";