nix-settings: fix flake nixpkgs registry and allow ca-derivations

This commit is contained in:
steveej 2024-07-26 14:07:12 +02:00
parent 8dd2f02dde
commit 778ba75ebe

View file

@ -18,6 +18,7 @@ in {
nix.settings.experimental-features = [
"nix-command"
"flakes"
"ca-derivations"
];
nix.settings.system-features = [
@ -27,7 +28,12 @@ in {
"nixos-test"
];
nix.registry.nixpkgs.flake = nodeFlake.inputs.nixpkgs;
# nix.registry.nixpkgs.flake = nodeFlake.inputs.nixpkgs;
nix.registry.nixpkgs.to = {
type = "path";
path = nodeFlake.inputs.nixpkgs.outPath;
narHash = nodeFlake.inputs.nixpkgs.narHash;
};
nix.package = pkgsUnstable.nixVersions.latest;
}