diff --git a/nix/os/snippets/nix-settings.nix b/nix/os/snippets/nix-settings.nix index d0e616b..4b7104e 100644 --- a/nix/os/snippets/nix-settings.nix +++ b/nix/os/snippets/nix-settings.nix @@ -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; }