mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-04 22:40:13 +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.interfaces.wlp4s0.useDHCP = true;
|
||||||
|
|
||||||
networking.firewall.allowPing = lib.mkIf config.server true;
|
networking.firewall.allowPing = lib.mkIf config.server true;
|
||||||
networking.hosts = {
|
|
||||||
"192.168.0.120" = [ "tempest" ];
|
# DNS service discovery
|
||||||
"192.168.0.218" = [ "swan" ];
|
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