about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-11-15 20:41:25 +0000
committerdevhell <devhell@mailfresser.de>2021-11-15 20:42:37 +0000
commit2ea723f68cc41507c9ebb67c3883512b1e8b8af0 (patch)
tree82211fc3b310cb95a0375130ac5d66ef70fe5f14 /modules
parent895a679fd43f7e236135705aaee3d58201d32a1f (diff)
{machines,modules}/devhell: Switch to Nix 2.4
This commit also includes a bit of drying the `auto-optimise-store` Nix
option.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/devhell/profiles/base.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix
index 29471f82..2092482d 100644
--- a/modules/user/devhell/profiles/base.nix
+++ b/modules/user/devhell/profiles/base.nix
@@ -17,6 +17,10 @@ in {
     nix = {
       buildCores = 0;
       useSandbox = true;
+      extraOptions = ''
+        auto-optimise-store = true;
+        experimental-features = nix-command flakes
+      '';
     };
 
     time = {