22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-14 03:46:57 +02:00

Fix libS input again

This commit is contained in:
Sandro - 2023-01-06 21:10:00 +01:00
parent 496c1f98db
commit b6c9bfc627
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -29,10 +29,8 @@
});
nixosModules = args: importDirToKey "modules" args;
nixosModule = { config, ... }@args: {
_module.args = lib.optionalAttrs (args ? libS) {
libS = self.lib { inherit lib config; };
};
nixosModule = { config, ... }: {
_module.args.libS = lib.mkOverride 1000 (self.lib { inherit lib config; });
imports = fileList "modules";
};