diff --git a/nixos/system.nix b/nixos/system.nix index e1b69ca..a31b97c 100644 --- a/nixos/system.nix +++ b/nixos/system.nix @@ -23,13 +23,17 @@ # Auto clean system nix = { settings = { - auto-optimise-store = true; + # auto-optimise-store = true; experimental-features = [ "nix-command" "flakes" ]; warn-dirty = false; }; + optimise = { + automatic = true; + dates = ["04:00"]; + }; gc = { automatic = true; dates = "weekly";