diff --git a/modules/home/base/nix/default.nix b/modules/home/base/nix/default.nix index 592efc2..2259e43 100644 --- a/modules/home/base/nix/default.nix +++ b/modules/home/base/nix/default.nix @@ -13,6 +13,12 @@ # i.e. for use in pkgs = import {}. nixPath = ["nixpkgs=${inputs.nixpkgs}"]; + # Pin flake registry nixpkgs to flake nixpkgs version. + # i.e. for use in nix search nixpkgs. + registry = { + nixpkgs.flake = inputs.nixpkgs; + }; + settings = { trusted-users = [ "root"