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