ctucx.git: nixfiles

ctucx' nixfiles

commit 8f736f2a35561a64d20427b9fab3e4ddc1df6852
parent fbb71390a061963c0edb7fa2f93872e28c7500ee
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 27 Nov 2022 18:49:03 +0100

configurations/common: use settings option for nix
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configurations/common/default.nix b/configurations/common/default.nix
@@ -39,9 +39,7 @@
   nix = {
     nixPath      = lib.mkForce [ "nixpkgs=${lib.cleanSource pkgs.path}" ];
     package      = pkgs.nix;
-    extraOptions = ''
-      experimental-features = nix-command flakes
-    '';
+    settings.experimental-features = [ "nix-command" "flakes" ];
   };
 
 }