From e0e903752525ef8ad3fd0512f78412256a8ebc97 Mon Sep 17 00:00:00 2001 From: willifan Date: Sat, 7 Dec 2024 23:14:49 +0100 Subject: [PATCH 1/2] fix autoupdate --- hosts/common/autoupdate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/common/autoupdate.nix b/hosts/common/autoupdate.nix index 4ca0820..55ec30e 100644 --- a/hosts/common/autoupdate.nix +++ b/hosts/common/autoupdate.nix @@ -3,7 +3,7 @@ system.autoUpgrade = { enable = true; dates = "04:00"; - flake = "https://git.huwe.mooo.com/willifan/nix-config.git"; + flake = "git+ssh://gitea@git.huwe.mooo.com/willifan/nix-config"; persistent = true; randomizedDelaySec = "5min"; fixedRandomDelay = true; From 95b87abde930d156e7288b94f8350b9daeef487d Mon Sep 17 00:00:00 2001 From: willifan Date: Sat, 7 Dec 2024 23:16:28 +0100 Subject: [PATCH 2/2] prolonged garbage collect interval --- hosts/common/garbage-collect.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/common/garbage-collect.nix b/hosts/common/garbage-collect.nix index 18d0fd3..32eff39 100644 --- a/hosts/common/garbage-collect.nix +++ b/hosts/common/garbage-collect.nix @@ -4,6 +4,6 @@ automatic = true; dates = "04:30"; persistent = true; - options = "--delete-older-than 10d"; + options = "--delete-older-than 30d"; }; }