try reenabling avahi

used public instead of publish accidentally
This commit is contained in:
Noah Masur 2023-04-19 16:50:19 -04:00
parent f388aee56c
commit a2bbcf7f55

View File

@ -12,11 +12,16 @@
networking.firewall.allowPing = lib.mkIf config.server true;
# DNS service discovery
services.avahi.enable = true;
# services.avahi.public.enable = true;
# services.avahi.public.domain = true;
# services.avahi.public.addresses = true;
# services.avahi.domainName = "local";
services.avahi = {
enable = true;
domainName = "local";
publish = {
enable = true;
addresses = true;
domain = true;
workstation = true;
};
};
# Resolve local hostnames using Avahi DNS
services.avahi.nssmdns = true;