about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 17:39:12 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 17:39:12 -0800
commit47b39aa24beea9b34448d6bd2500d26c8a5b08f5 (patch)
treec77d90e5aa24948db2bf2e584fb5fc0d6a545694
parenthosts: remove users (diff)
downloadworld-47b39aa24beea9b34448d6bd2500d26c8a5b08f5.tar.gz
modules: set a few more options for nix
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";