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

5 lines
80 B
Nix

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