krebs hosts: config only if config.krebs.enable
This commit is contained in:
parent
c084136980
commit
7b4ea4750e
|
@ -11,7 +11,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = mkIf config.krebs.enable {
|
||||
networking.hosts =
|
||||
filterAttrs
|
||||
(_name: value: value != [])
|
||||
|
|
Loading…
Reference in a new issue