aboutsummaryrefslogtreecommitdiff
path: root/modules/systems/nix.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/systems/nix.nix3
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";