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; 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"; }; }