mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
try reenabling avahi
used public instead of publish accidentally
This commit is contained in:
parent
f388aee56c
commit
a2bbcf7f55
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user