summary refs log tree commit diff stats
path: root/nix.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-01-19 21:16:25 +0100
committersils <sils@sils.li>2023-01-19 21:16:25 +0100
commit47d9bf9a4b8ad16ad0e80f4bfa9fad9e9f134a4b (patch)
tree6e21dddb8f4942514eb6409856e4811eab410d4a /nix.nix
parentPackages: Update (diff)
downloadnix-config-47d9bf9a4b8ad16ad0e80f4bfa9fad9e9f134a4b.tar.gz
nix-config-47d9bf9a4b8ad16ad0e80f4bfa9fad9e9f134a4b.zip
Structure: flakeify
Prepare to switch sys-config to flakes by enabling flakes support in
nix.
Diffstat (limited to '')
-rw-r--r--nix.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix.nix b/nix.nix
index da21492..5c07342 100644
--- a/nix.nix
+++ b/nix.nix
@@ -10,6 +10,9 @@
       dates = "daily";
       options = "--delete-older-than 3";
     };
-    settings.auto-optimise-store = true;
+    settings = {
+        auto-optimise-store = true;
+        experimental-features = [ "nix-command" "flakes"];
+    };
   };
 }