!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.org256 Servers

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


SenderMessageTime
28 Jul 2025
@marcel:envs.net@marcel:envs.net
In reply to @emilazy:matrix.org
I think it's easy to inherit if you want and annoying to disable automatic inheritance if you don't
Just the default, the pint you start configuring initrd stuff it is replaced and not merged
17:50:40
@marcel:envs.net@marcel:envs.net If you want to merge it, you have to do it yourself as the consumer 17:51:01
@emilazy:matrix.orgemily I think that's not ideal (because if you import a module that only intends to extend the initrd network config, it unexpectedly blows away the inherited config) 17:51:15
@marcel:envs.net@marcel:envs.netOk, I'll leave the default initrd config:)17:51:50
@emilazy:matrix.orgemily I think it should match boot.initrd.system.network by being separate (and in a separate hierarchy) and you can always boot.initrd.networking.ifstate = config.networking.ifstate; or such 17:51:53
@emilazy:matrix.orgemily (admittedly the boot.initrd.* hierarchy is a bit of a mess currently) 17:52:06
@marcel:envs.net@marcel:envs.net
In reply to @emilazy:matrix.org
I would personally probably go for services.ifstate.* IMO, it's comparable to services.network-manager.* in that you have a systemd service managing the config, but I'm ambivalent
you are still with services.ifstate? in your last message you used networking.ifstate?
19:16:08
@emilazy:matrix.orgemily I have no consistent opinion 😅 NM is under networking.* right? 19:16:59
@emilazy:matrix.orgemilyI'd match NM19:17:01
@marcel:envs.net@marcel:envs.netyeah19:17:21
@marcel:envs.net@marcel:envs.netallrigh19:17:23

Show newer messages


Back to Room ListRoom Version: 6