diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-09 17:39:12 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-09 17:39:12 -0800 |
commit | 47b39aa24beea9b34448d6bd2500d26c8a5b08f5 (patch) | |
tree | c77d90e5aa24948db2bf2e584fb5fc0d6a545694 /modules/systems | |
parent | hosts: remove users (diff) | |
download | world-47b39aa24beea9b34448d6bd2500d26c8a5b08f5.tar.gz |
modules: set a few more options for nix
Diffstat (limited to 'modules/systems')
-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"; |