!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

874 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.org255 Servers

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


SenderMessageTime
4 Aug 2025
@emilazy:matrix.orgemily availableKernelModules is the appropriate thing if we're going to be sniffing the config like that 23:23:23
@marcel:envs.net@marcel:envs.netupdated it, thx23:36:13
5 Aug 2025
@isabel:isabelroses.comisabel changed their profile picture.09:49:46
6 Aug 2025
@frederic:scs.ems.host@frederic:scs.ems.host changed their display name from Frédéric Christ to Frédéric Christ 🏕️ 15.8..08:28:52
8 Aug 2025
@kity:kity.wtfproblems changed their profile picture.01:43:17
@0x4a6f:nixos.dev0x4A6F joined the room.06:32:20
@nikstur:matrix.orgniksturI had some fun and let systemd networkd take care of the ipv6 privacy extensions instead of our custom udev rule: https://github.com/NixOS/nixpkgs/pull/43196717:11:16
@emilazy:matrix.orgemily shouldn't we maybe be using kernel? 17:13:30
@emilazy:matrix.orgemilyto match the kernel's default preference17:13:34
@emilazy:matrix.orgemilyrather than having two knobs17:13:47
@emilazy:matrix.orgemily also, it can be set in networkd.conf 17:14:09
@emilazy:matrix.orgemily so we don't need a separate .network for it 17:14:16
@emilazy:matrix.orgemilyah I guess the kernel preference is per-interface17:15:41
@emilazy:matrix.orgemily systemd.network.config.networkConfig.IPv6PrivacyExtensions = lib.mkDefault true; should do it, though 17:15:50
@emilazy:matrix.orgemily btw (sorry for doing this on Matrix rather than leaving reviews, I haven't had the time to do a proper substantive review) is there a reason you got bash out of the iptables closure rather than just disabling iptables? it's pretty legacy itself at this point, and systemd is dropping support for it in 259 17:17:02
@emilazy:matrix.orgemily
* The legacy iptables support through libiptc will be removed in v259.
  Only nftables backend will be supported by systemd-networkd and
  systemd-nspawn since v259.
17:17:10
@elvishjerricco:matrix.orgElvishJerricco I'm pretty sure this doesn't actually work. Have you checked that the expected things actually get set with interfaces that are actually configured with networkd? With networkd, an interface only ever applies a single .network file, and drop-ins for that file; the first one whose Match section matches it. So if I've got a 40-eth0.network, this 99-default-ipv6-privacy-extensions.network won't apply to my eth0 it at all. 19:29:40
@elvishjerricco:matrix.orgElvishJerricco emily's idea of just adding a default value for that directive in the networkConfig option would fix that. 19:30:48

Show newer messages


Back to Room ListRoom Version: 6