From 47b39aa24beea9b34448d6bd2500d26c8a5b08f5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Feb 2022 17:39:12 -0800 Subject: modules: set a few more options for nix --- modules/systems/nix.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') 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"; -- cgit 1.4.1