diff --git a/hosts/common/default.nix b/hosts/common/default.nix index f8ffc69..80de576 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -3,6 +3,7 @@ imports = [ ./autoupdate.nix ./garbage-collect.nix + ./optimise.nix ]; system.stateVersion = "23.11"; } \ No newline at end of file diff --git a/hosts/common/optimise.nix b/hosts/common/optimise.nix new file mode 100644 index 0000000..b4d7458 --- /dev/null +++ b/hosts/common/optimise.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + nix.optimise = { + automatic = true; + dates = [ "05:00" ]; + }; +} \ No newline at end of file