From 396e3c81a7043d456fd6f3d1787d77f203e11f11 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Fri, 28 Feb 2025 19:38:26 +0100 Subject: [PATCH] add auto update --- base.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base.nix b/base.nix index d34597e..4d723a6 100644 --- a/base.nix +++ b/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;