From 56da9efcd1c6386bb7444aa823772e2e70cfa06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sat, 21 Dec 2024 15:05:10 +0200 Subject: [PATCH] Add mdns to networkmanager --- base.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/base.nix b/base.nix index 619b28a..0988cf1 100644 --- a/base.nix +++ b/base.nix @@ -159,8 +159,14 @@ ######################################## Misc. ################################################## nixpkgs.config.allowUnfree = true; - networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. - networking.tempAddresses = "disabled"; + networking = { + # Easiest to use and most distros use this by default. + networkmanager = { + enable = true; + connectionConfig."connection.mdns" = "yes"; + }; + tempAddresses = "disabled"; + }; services.resolved.enable = true; users.mutableUsers = false; # Force all user management to happen throught nix-files