From 3c94b8a4c45729c4c0168cd0b3a5a611ce2586cc Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 12 Dec 2024 14:46:53 -0600 Subject: [PATCH] add module to flake lib helper --- lib/extended.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/extended.nix b/lib/extended.nix index 0f91c39..9b5d59a 100644 --- a/lib/extended.nix +++ b/lib/extended.nix @@ -104,8 +104,10 @@ let pkgsFromSystem = system: flake: inputs."${flake}".packages."${system}"; pkgFromSystem = system: flake: (pkgsFromSystem system flake).default; overlayFrom = flake: inputs."${flake}".overlays.default; + nixosModuleFrom = flake: inputs."${flake}".nixosModules.default; flakeFromSystem = system: { overlay = overlayFrom; + module = nixosModuleFrom; pkgs = pkgsFromSystem system; pkg = pkgFromSystem system; };