nix: nix_2_21 -> top level nix

This commit is contained in:
Primrose 2024-09-22 11:13:11 +02:00
parent 8f65421682
commit 24d89b9733
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,5 @@
{ pkgs, ... }:
{
nix.package = pkgs.nixVersions.nix_2_21;
nix.settings = {
extra-substituters = [
@ -21,7 +19,11 @@
"nix-command"
"flakes"
];
allow-import-from-derivation = true;
sandbox = true;
};
}