liminix/lib/merge-modules.nix
Daniel Barlow 9d651f5851 move files
2023-02-15 22:06:28 +00:00

8 lines
195 B
Nix

modules : pkgs :
let evalModules = (import <nixpkgs/lib>).evalModules;
in (evalModules {
modules =
[
{ _module.args = { inherit pkgs; lib = pkgs.lib; }; }
] ++ modules;
}).config