diff options
author | Leonardo Santiago <[email protected]> | 2024-11-12 15:19:42 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-11-12 15:19:42 -0300 |
commit | b5ce64f08bb38aaf49eb95011e9b55137188d4b5 (patch) | |
tree | 4bf0d7ab2d4cdc8d818d98a54e12488fa58685d8 /modules/basic.nix | |
parent | bf4f206dc5d989bf1a5083b23d4ec4b22c060b42 (diff) |
pin nix to version 2 20.
Diffstat (limited to 'modules/basic.nix')
-rw-r--r-- | modules/basic.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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; |