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 =
|
networking.hosts =
|
||||||
filterAttrs
|
filterAttrs
|
||||||
(_name: value: value != [])
|
(_name: value: value != [])
|
||||||
|
Loading…
Reference in New Issue
Block a user