1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
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;
};
}