Remove avahi, go systemd.resolved.
Turns out that avahi fights with systemd resolved. By just using the one, I can correctly resolve local hostnames.
This commit is contained in:
parent
c7902f70c0
commit
6099b0a23c
|
@ -83,6 +83,8 @@
|
|||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
services.resolved.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
@ -160,16 +162,6 @@
|
|||
|
||||
# Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
ipv6 = true;
|
||||
nssmdns4 = false;
|
||||
nssmdns6 = true;
|
||||
publish.enable = true;
|
||||
publish.workstation = true;
|
||||
publish.addresses = true;
|
||||
};
|
||||
services.tailscale.enable = true;
|
||||
|
||||
systemd.network.enable = true;
|
||||
# Open ports in the firewall.
|
||||
|
|
Loading…
Reference in New Issue