add auto update

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-02-28 19:38:26 +01:00
parent 6b6f2af918
commit 396e3c81a7
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -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;