diff --git a/ops/nixos/lib/client.nix b/ops/nixos/lib/client.nix index 885aa6dd9e..b0507636f7 100644 --- a/ops/nixos/lib/client.nix +++ b/ops/nixos/lib/client.nix @@ -12,11 +12,9 @@ in programs.ssh.startAgent = true; nix.gc.automatic = false; services.udisks2.enable = true; - networking.networkmanager.extraConfig = lib.mkAfter '' - [connection] - # Enable mDNS resolver/responder by default unless otherwise configured. - connection.mdns=2 - ''; + + # Enable mDNS resolver/responder by default unless otherwise configured. + networking.networkmanager.settings.connection."connection.mdns" = 2; environment.systemPackages = with pkgs; lib.mkMerge [ (lib.mkIf config.virtualisation.podman.enable [ podman-compose ])