nixpkgs-suyu/lib/tests/modules/custom-arg-define-enable.nix

9 lines
98 B
Nix
Raw Normal View History

{ lib, custom, ... }:
{
config = {
_module.args.custom = true;
enable = custom;
};
}