From 98c2ca114f052b589decfa58a56f9d97caeff14e Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 15 Feb 2022 00:18:37 +0000 Subject: [PATCH] home-modules/common: Add input pkgs to flake registry --- home-modules/common.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-modules/common.nix b/home-modules/common.nix index 17ec012..4addeac 100644 --- a/home-modules/common.nix +++ b/home-modules/common.nix @@ -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