summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-11-12 15:19:42 -0300
committerLeonardo Santiago <[email protected]>2024-11-12 15:19:42 -0300
commitb5ce64f08bb38aaf49eb95011e9b55137188d4b5 (patch)
tree4bf0d7ab2d4cdc8d818d98a54e12488fa58685d8
parentbf4f206dc5d989bf1a5083b23d4ec4b22c060b42 (diff)
pin nix to version 2 20.
-rw-r--r--modules/basic.nix3
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;