nix-settings: fix flake nixpkgs registry and allow ca-derivations
This commit is contained in:
parent
8dd2f02dde
commit
778ba75ebe
1 changed files with 7 additions and 1 deletions
|
@ -18,6 +18,7 @@ in {
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
"ca-derivations"
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings.system-features = [
|
nix.settings.system-features = [
|
||||||
|
@ -27,7 +28,12 @@ in {
|
||||||
"nixos-test"
|
"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;
|
nix.package = pkgsUnstable.nixVersions.latest;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue