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,8 +1,7 @@
{ pkgs, lib, ... }:
{
nix = {
package = lib.mkDefault pkgs.nixVersions.nix_2_21;
settings = {
allow-import-from-derivation = "true";
extra-substituters = [
@ -29,5 +28,7 @@
to.type = "git";
to.url = "https://git.earth2077.fr/leana/flakies";
};
};
}