core/lib/tests/modules/define-if-attrsOfSub-foo-enable.nix

6 lines
82 B
Nix
Raw Permalink Normal View History

2024-05-01 22:14:04 +00:00
{ config, lib, ... }:
lib.mkIf config.enable {
attrsOfSub.foo.enable = true;
}