Add auto-update and maintenance options to system module
This commit is contained in:
parent
99c23a1aa5
commit
abf2080f91
2 changed files with 71 additions and 5 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue