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

7 lines
93 B
Nix

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