added automatic nix-store optimisation

This commit is contained in:
willifan 2024-07-06 23:24:55 +02:00
parent d4f3f586c6
commit fefa12b881
2 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,7 @@
imports = [
./autoupdate.nix
./garbage-collect.nix
./optimise.nix
];
system.stateVersion = "23.11";
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
nix.optimise = {
automatic = true;
dates = [ "05:00" ];
};
}