diff --git a/hosts/common/autoupdate.nix b/hosts/common/autoupdate.nix deleted file mode 100644 index c5591ef..0000000 --- a/hosts/common/autoupdate.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, ... }: -{ - system.autoUpgrade = { - enable = true; - dates = "04:00"; - flake = "https://git.huwe.mooo.com/willifan/nix-config.git"; - persistent = true; - randomizedDelaySec = "5min"; - fixedRandomDelay = true; - }; -} \ No newline at end of file diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 80de576..636ca91 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -1,9 +1,4 @@ { pkgs, ... }: { - imports = [ - ./autoupdate.nix - ./garbage-collect.nix - ./optimise.nix - ]; system.stateVersion = "23.11"; } \ No newline at end of file diff --git a/hosts/common/garbage-collect.nix b/hosts/common/garbage-collect.nix deleted file mode 100644 index 8a029f8..0000000 --- a/hosts/common/garbage-collect.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: -{ - nix.gc = { - automatic = true; - dates = "04:30"; - persistent = true; - options = "--delete-older-than 10d"; - }; -} \ No newline at end of file diff --git a/hosts/common/optimise.nix b/hosts/common/optimise.nix deleted file mode 100644 index b4d7458..0000000 --- a/hosts/common/optimise.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: -{ - nix.optimise = { - automatic = true; - dates = [ "05:00" ]; - }; -} \ No newline at end of file