!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

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


SenderMessageTime
8 Aug 2025
@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
@emilazy:matrix.orgemily(we should have a test for this if we don't)19:31:13
@nikstur:matrix.orgniksturUntil we have 259, I don't see a way to get it out of the systemd closure. That's why I removed bash from it. I think that's fine for now.19:46:41
@nikstur:matrix.orgniksturSounds good, I'll apply that19:46:52
@emilazy:matrix.orgemilyhuh I thought it was optional already19:46:58
@emilazy:matrix.orgemilybut I guess not?19:47:00
@elvishjerricco:matrix.orgElvishJerriccoif they're removing support for it altogether in 259, it would be very unusual for them to not already have it being optional for quite a while19:48:12
@nikstur:matrix.orgniksturFair enough I'll look into it19:51:24
@elvishjerricco:matrix.orgElvishJerriccomaybe check their NEWS file for any mentions of iptables and how to get rid of it19:52:10
@nikstur:matrix.orgnikstur ElvishJerricco: emily thanks for the pointers" 19:54:43
@nikstur:matrix.orgnikstur * ElvishJerricco: emily thanks for the pointers! 19:54:47
@marcel:envs.netMarcel

IfState V2 just got officaly released:

https://github.com/NixOS/nixpkgs/pull/431047
Changelog: https://codeberg.org/liske/ifstate/releases/tag/2.0.0

And it also got a new website theme: https://ifstate.net

21:30:59
@marcel:envs.netMarcel *

IfState V2 just got officialy released:

https://github.com/NixOS/nixpkgs/pull/431047
Changelog: https://codeberg.org/liske/ifstate/releases/tag/2.0.0

And it also got a new website theme: https://ifstate.net

21:32:19

Show newer messages


Back to Room ListRoom Version: 6