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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
82 B
Nix
Raw Normal View History

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