!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

881 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` for interface and routing setup, use systemd-networkd, ifstate or NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org251 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Jul 2025
@charles:computer.surgeryCharles

reverting the changes to networkmanager and systemd-resolved and adding

services.avahi = {
  enable = true;
  publish.enable = true;
  publish.domain = true;
  nssmdns4 = true;
};

works :/

20:47:42
@zhaofeng:zhaofeng.liZhaofeng Lijust for resolving I don't think avahi is required, publishing yes20:48:51
@charles:computer.surgeryCharleshttps://www.freedesktop.org/software/systemd/man/latest/resolved.conf.html#MulticastDNS=20:50:31
@charles:computer.surgeryCharlessystemd is supposed to be able to do it, it seems20:50:38
@zhaofeng:zhaofeng.liZhaofeng Li

Multicast DNS responder and resolver

huh interesting, so it can publish too

20:51:18
@charles:computer.surgeryCharleswell, it says it can, but i can't get it to work20:51:50
@zhaofeng:zhaofeng.liZhaofeng Li there is resolvectl mdns but it's not very helpful apart from saying "yes" 20:54:23
@charles:computer.surgeryCharlesindeed20:54:32
@zhaofeng:zhaofeng.liZhaofeng Li maybe you need the whole SYSTEMD_LOG_LEVEL=debug shebang again 20:54:55
@zhaofeng:zhaofeng.liZhaofeng Lifor the networking stuff, trying to get systemd to tell you anything useful via the CLIs is usually futile 🫠20:56:25
@charles:computer.surgeryCharles actually it seems like services.avahi.enable = true; is sufficient 20:57:13

Show newer messages


Back to Room ListRoom Version: 6