diff options
-rw-r--r-- | modules/systems/nix.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/systems/nix.nix b/modules/systems/nix.nix index 1bacdfd..b1e422f 100644 --- a/modules/systems/nix.nix +++ b/modules/systems/nix.nix @@ -5,6 +5,9 @@ experimental-features = nix-command ''; + nix.autoOptimiseStore = true; + nix.trustedUsers = [ "root" "@wheel" ]; + nix.gc = { automatic = true; options = "--delete-older-than 14d"; |