liminix-fork/merge-modules.nix

9 lines
195 B
Nix
Raw Normal View History

2022-09-25 12:22:15 +02:00
modules : pkgs :
let evalModules = (import <nixpkgs/lib>).evalModules;
2022-09-25 12:22:15 +02:00
in (evalModules {
modules =
[
{ _module.args = { inherit pkgs; lib = pkgs.lib; }; }
] ++ modules;
}).config