feat(submodule): pass submodule args as argument to submodule modules

This commit is contained in:
Jaka Hudoklin 2019-03-20 21:07:49 +01:00
parent 0c5e0d3a10
commit db5ee88274
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95

View file

@ -34,7 +34,10 @@ with lib;
default = {}; default = {};
type = types.attrs; type = types.attrs;
}; };
args._empty = mkOption {};
}; };
config._module.features = ["submodule"]; config._module.features = ["submodule"];
config._module.args.args = config.submodule.args;
} }