!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

882 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.org254 Servers

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


SenderMessageTime
28 Jul 2025
@marcel:envs.net@marcel:envs.neti'll use networking19:20:49
@marcel:envs.net@marcel:envs.net * 19:20:54
@marcel:envs.net@marcel:envs.net

I've build an assertion like this:

IfState and networking.useDHCP cannot be used at the same time, as both configure the network. Please look into IfState hooks to integrate DHCP: https://codeberg.org/liske/ifstate/issues/111

The problem is that useDHCP is per default set to true. That means that every user first using ifstate gets this error, is this bad? Should ifstate set useDHCP to false?

20:25:45
@hexa:lossy.networkhexa (clat on linux when)please bring ifstate upstream20:27:00
@hexa:lossy.networkhexa (clat on linux when)it's one more thing we can point people to, to escape scripted networking20:27:10
@elvishjerricco:matrix.orgElvishJerricco hexa (clat on linux when): (that is what they're working on :P) 20:27:23
@hexa:lossy.networkhexa (clat on linux when)and e.g. if they require network namespaces20:27:24
@marcel:envs.net@marcel:envs.net
In reply to @hexa:lossy.network
please bring ifstate upstream
I am currenlty in the process ;D
20:27:25
@hexa:lossy.networkhexa (clat on linux when)was only aware of the flake 🙂 20:27:33
@hexa:lossy.networkhexa (clat on linux when)backlog is hard20:27:40
@elvishjerricco:matrix.orgElvishJerricco the networkmanager module just sets it to false 20:28:05
@emilazy:matrix.orgemily tbh, I hate overriding useDHCP from another module like that, but it's what NM and connman do, so it's probably the way to go 20:28:06

Show newer messages


Back to Room ListRoom Version: 6