3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/tests/modules/define-loaOfSub-if-foo-enable.nix
2015-03-16 22:38:41 +01:00

8 lines
93 B
Nix

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