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:
Eli Ribble 2024-08-29 17:47:43 -07:00
parent c7902f70c0
commit 6099b0a23c
1 changed files with 2 additions and 10 deletions

View File

@ -83,6 +83,8 @@
# no need to redefine it in your config for now) # no need to redefine it in your config for now)
#media-session.enable = true; #media-session.enable = true;
}; };
services.resolved.enable = true;
services.tailscale.enable = true;
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
@ -160,16 +162,6 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # 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; systemd.network.enable = true;
# Open ports in the firewall. # Open ports in the firewall.