From 1a2c24e1e5aa65fd6d56366a46a3d06cf88b07c5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 27 Oct 2026 21:59:14 +0300 Subject: [PATCH] added auto update (disabled) and auto gc... Signed-off-by: Alex A. Naanou --- configuration.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configuration.nix b/configuration.nix index 8103a4a..76375c3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -35,6 +35,21 @@ "flakes" ]; + ## Auto-updates... + #system.autoUpgrade = { + # enable = true; + # dates = "weekly"; + #}; + + # Auto-cleanup... + nix.gc = { + automatic = true; + dates = "weekly"; + #options = "--delete-older-than 14d"; + }; + nix.settings.auto-optimise-store = true; + + # Allow unfree packages nixpkgs.config.allowUnfree = true;