about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2020-06-15 09:25:00 +0200
committeraszlig <aszlig@nix.build>2020-06-23 23:27:11 +0200
commita5521b3be77df459e78097b6105baa5a33046c35 (patch)
tree805b2f3935d431494ff3e76fb2c44ef118be23fd
parentba416c3aa04407df7dc1c2b06ef4a02b1d18654a (diff)
profiles/base: Enable Nix experimental features
I've had this in my configuration.nix for a while and since I got used
to it, I think it's a good idea to enable both Nix Flakes and the "nix"
command by default for all my machines.

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--modules/user/aszlig/profiles/base.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index ff3f3f9f..3f0e8b15 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -15,6 +15,7 @@ in {
       buildCores = 0;
       extraOptions = ''
         auto-optimise-store = true
+        experimental-features = nix-command flakes
       '';
     };