From 6099b0a23cd908bf51f585df075d9a25c6404a36 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 29 Aug 2024 17:47:43 -0700 Subject: [PATCH] Remove avahi, go systemd.resolved. Turns out that avahi fights with systemd resolved. By just using the one, I can correctly resolve local hostnames. --- nalai/etc/nixos/configuration.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/nalai/etc/nixos/configuration.nix b/nalai/etc/nixos/configuration.nix index 8b9382a..0dd0afc 100644 --- a/nalai/etc/nixos/configuration.nix +++ b/nalai/etc/nixos/configuration.nix @@ -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.