add auto update
This commit is contained in:
parent
6b6f2af918
commit
396e3c81a7
1 changed files with 3 additions and 0 deletions
3
base.nix
3
base.nix
|
@ -38,6 +38,9 @@ in {
|
|||
boot.kernelParams = [ "console=tty0" "console=ttyS0,115200"];
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
nix.gc.automatic = true;
|
||||
nix.gc.options = "--delete-older-than 30d";
|
||||
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue