diff --git a/hosts/common/autoupdate.nix b/hosts/common/autoupdate.nix index 55ec30e..4ca0820 100644 --- a/hosts/common/autoupdate.nix +++ b/hosts/common/autoupdate.nix @@ -3,7 +3,7 @@ system.autoUpgrade = { enable = true; dates = "04:00"; - flake = "git+ssh://gitea@git.huwe.mooo.com/willifan/nix-config"; + flake = "https://git.huwe.mooo.com/willifan/nix-config.git"; persistent = true; randomizedDelaySec = "5min"; fixedRandomDelay = true; diff --git a/hosts/common/garbage-collect.nix b/hosts/common/garbage-collect.nix index 32eff39..18d0fd3 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 30d"; + options = "--delete-older-than 10d"; }; }