core/lib/tests/modules/define-if-attrsOfSub-foo-enable.nix
2024-06-30 09:12:46 +01:00

4 lines
80 B
Nix

{ config, lib, ... }:
lib.mkIf config.enable { attrsOfSub.foo.enable = true; }