mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-21 21:50:43 -06:00
add module to flake lib helper
This commit is contained in:
parent
ba6127d5e7
commit
3c94b8a4c4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue