1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/lib/tests/modules/define-loaOfSub-foo-enable-if.nix
2015-03-16 22:38:41 +01:00

6 lines
80 B
Nix

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