krebs hosts: config only if config.krebs.enable

This commit is contained in:
tv 2022-11-23 16:40:21 +01:00
parent c084136980
commit 7b4ea4750e

View File

@ -11,7 +11,7 @@ in {
};
};
config = {
config = mkIf config.krebs.enable {
networking.hosts =
filterAttrs
(_name: value: value != [])