make dnsmask optional

This commit is contained in:
Ingolf Wagner 2021-06-03 14:27:18 +02:00
parent 7da887e8d6
commit 54514b51a2
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -4,7 +4,7 @@ with lib;
{ {
services.dnsmasq = { services.dnsmasq = {
enable = true; enable = mkDefault true;
extraConfig = '' extraConfig = ''
${concatStringsSep "\n" ${concatStringsSep "\n"
(flip mapAttrsToList config.module.cluster.services.tinc."private".hosts (flip mapAttrsToList config.module.cluster.services.tinc."private".hosts