mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
try avahi, not working
doesn't seem to be discovering other devices
This commit is contained in:
parent
ca7a4ed408
commit
05d5fcb8f9
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user