!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

884 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
28 Jul 2025
@emilazy:matrix.orgemily(I think maybe networkd might inherit config from stage 2 or something weird like that, I forget)17:47:52
@emilazy:matrix.orgemilyI think we can also just upstream without initrd support initially FWIW, and add it later17:48:31
@elvishjerricco:matrix.orgElvishJerricco (this is something I've debated with myself a lot; we currently don't inherit configs from stage 2 for basically anything and I can't decide if that's a good thing or not. The networkd exception is that if you use boot.initrd.network.enable rather than boot.initrd.systemd.network.enable you get the networking.interfaces implementations from stage 2 basically) 17:48:45
@emilazy:matrix.orgemily(but I don't think we'll want to upstream scripted initrd support, since it's going to explicitly be on the deprecation/warning path very very soon)17:48:47
@emilazy:matrix.orgemily thankfully fixed by deprecating networking.interfaces 17:49:03
@marcel:envs.net@marcel:envs.netThat's at least what I am currently doing. If you don't specify a initrd config and ifstatenis activated on initrd, it inherits the normal config17:49:10
@emilazy:matrix.orgemilyI think it's easy to inherit if you want and annoying to disable automatic inheritance if you don't17:49:17
@emilazy:matrix.orgemilyso IMO separate configs and letting people manually do explicit inheritance is the way to go17:49:27
@emilazy:matrix.orgemilyinitrd isn't the same as the booted machine17:49:37
@emilazy:matrix.orgemily (they even have different notions of machine-id by default) 17:49:42

Show newer messages


Back to Room ListRoom Version: 6