core/nodes/1_lib/tests/modules/module-argument-default.nix
2024-05-21 23:53:33 -04:00

10 lines
139 B
Nix

{ a ? false, lib, ... }: {
options = {
result = lib.mkOption {};
};
config = {
_module.args.a = true;
result = a;
};
}