nixpkgs-suyu/lib/tests/modules/define-loaOfSub-if-foo-enable.nix
2015-03-16 22:38:41 +01:00

7 lines
93 B
Nix

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