summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-06-16 15:44:31 +0200
committerAlan Pearce2022-06-16 15:44:31 +0200
commit4f664bb0517843b305365df41db0bcb35a162e3f (patch)
tree3724e5bb95a56775f9675a8d9670e5ab86726a67
parentedf6650a3f00ffcc53a934a684e11b18351c2850 (diff)
downloadnixfiles-4f664bb0517843b305365df41db0bcb35a162e3f.tar.lz
nixfiles-4f664bb0517843b305365df41db0bcb35a162e3f.tar.zst
nixfiles-4f664bb0517843b305365df41db0bcb35a162e3f.zip
nix: enable flakes
-rw-r--r--system/settings/configuration/nix.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index 9927ce3d..f4756d58 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -8,9 +8,11 @@
 
     trustedUsers = [ "@wheel" ];
 
+    package = pkgs.nixFlakes;
     extraOptions = ''
       keep-outputs = true
       keep-derivations = true
+      experimental-features = nix-command flakes
     '';
 
     autoOptimiseStore = true;