!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

907 Members
Declaratively manage your switching, routing, wireless, tunneling and more.268 Servers

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


SenderMessageTime
28 Jul 2025
@emilazy:matrix.orgemilylike, you can also have both networkd and NM enabled, and it is fine as long as you do not try to configure the same interface with both20:31:43
@marcel:envs.net@marcel:envs.netthey wonder why the changes do not apply and get overriden by ifstate, maybe even depeing on the order and between ifstate and networkd it could bing randomness demending which is faster20:31:49
@marcel:envs.net@marcel:envs.netifstate is nice, because it deconfigures everything not defined20:32:07
@marcel:envs.net@marcel:envs.netits truly declarative20:32:13
@emilazy:matrix.orgemily
## ignore settings to ignore existing interface, ip addresses, … (optional)
# ignore: …
20:32:20
@emilazy:matrix.orgemilyit looks like you can explicitly tell ifstate to ignore stuff you don't want it to manage20:32:28
@marcel:envs.net@marcel:envs.netexcept for the ignore part20:32:30
@emilazy:matrix.orgemilyI think it is okay not to try and guard against everything as long as the obvious things are covered20:32:49
@marcel:envs.net@marcel:envs.netstuff like docker or libvirt managed interfaces should be there20:32:52
@emilazy:matrix.orgemilypeople can always run … some other random software that tries to tweak networking config :)20:32:55
@emilazy:matrix.orgemilyand run into issues like that20:33:01
@emilazy:matrix.orgemily I would just assert on useDHCP and NetworkManager 20:33:13
@marcel:envs.net@marcel:envs.netok20:33:18
@emilazy:matrix.orgemily you could get fancy with config.systemd.network.{networks,netdevs,links} but I think it is not worth it 20:33:55
@marcel:envs.net@marcel:envs.netbut to do it corrently i also had to interpret the ignore section of ifstate20:34:21
@marcel:envs.net@marcel:envs.net * 20:34:31
@emilazy:matrix.orgemilylike20:36:15
@emilazy:matrix.orgemily you are also not asserting on networking.interfaces.* 20:36:25

Show newer messages


Back to Room ListRoom Version: 6