From d7172a69ed22729afd45bc55967d91338ca58fb0 Mon Sep 17 00:00:00 2001 From: geemili Date: Fri, 29 Dec 2023 19:50:55 -0700 Subject: [PATCH] feat: mdns name resolution --- configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3189c94..c4886c9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -160,8 +160,10 @@ # Blocky DNS 53 ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; + + # Use systemd-resolved and set networkmanager to allow mdns + services.resolved.enable = true; + networking.networkmanager.connectionConfig."connection.mdns" = 2; # 2 == yes # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you