home-modules/common: Add input pkgs to flake registry

This commit is contained in:
Jack O'Sullivan 2022-02-15 00:18:37 +00:00
parent 0d3528c67d
commit 98c2ca114f

View File

@ -4,6 +4,16 @@ let
in
mkMerge [
{
nix.registry = {
pkgs = {
to = {
type = "path";
path = toString pkgs.path;
};
exact = true;
};
};
programs = {
# Even when enabled this will only be actually installed in standalone mode
# Note: `home-manager.path` is for telling home-manager is installed and setting it in NIX_PATH, which we should