From b5ce64f08bb38aaf49eb95011e9b55137188d4b5 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Tue, 12 Nov 2024 15:19:42 -0300 Subject: pin nix to version 2 20. --- modules/basic.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/basic.nix b/modules/basic.nix index e2c68c1..26d2e15 100644 --- a/modules/basic.nix +++ b/modules/basic.nix @@ -6,10 +6,11 @@ }; config = mkIf config.santi-modules.basic.enable { nix = { - package = pkgs.lib.mkForce pkgs.nixVersions.nix_2_23; + package = pkgs.lib.mkForce pkgs.nixVersions.nix_2_20; settings = { trusted-users = [ "root" "leonardo" ]; auto-optimise-store = true; + experimental-features = [ "nix-command" "flakes" ]; }; gc = { automatic = true; -- cgit v1.2.3