core/lib/tests/modules/module-argument-default.nix
2024-05-01 18:26:04 -04:00

10 lines
139 B
Nix

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