mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 15:00:14 +00:00
try avahi, not working
doesn't seem to be discovering other devices
This commit is contained in:
@ -10,10 +10,16 @@
|
||||
networking.interfaces.wlp4s0.useDHCP = true;
|
||||
|
||||
networking.firewall.allowPing = lib.mkIf config.server true;
|
||||
networking.hosts = {
|
||||
"192.168.0.120" = [ "tempest" ];
|
||||
"192.168.0.218" = [ "swan" ];
|
||||
};
|
||||
|
||||
# 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";
|
||||
|
||||
# Resolve local hostnames using Avahi DNS
|
||||
services.avahi.nssmdns = true;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user