diff --git a/hosts/profiles/nix.nix b/hosts/profiles/nix.nix index 617153cb..7c56e35b 100644 --- a/hosts/profiles/nix.nix +++ b/hosts/profiles/nix.nix @@ -44,8 +44,14 @@ in { ]; }; registry = { - nixpkgs.flake = inputs.nixpkgs; - nixpkgs-stable.flake = inputs.nixpkgs-stable; + nixpkgs.to = lib.mkForce { + type = "path"; + path = inputs.nixpkgs; + }; + nixpkgs-stable.to = lib.mkForce { + type = "path"; + path = inputs.nixpkgs-stable; + }; }; nixPath = [ "nixpkgs=${inputs.nixpkgs}"