!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

914 Members
Declaratively manage your switching, routing, wireless, tunneling and more.265 Servers

Load older messages


SenderMessageTime
29 Jun 2025
@emilazy:matrix.orgemilyI think it's a lot easier to sell a flag day when it doesn't break the most basic networking config02:32:32
@emilazy:matrix.orgemilygradually deprecating the old stuff is going to be easier after everyone is already running an implementation backed by the migration path02:32:53
@hexa:lossy.networkhexait boils down to us being bad at deprecating interfaces02:32:56
@hexa:lossy.networkhexado you think we should support the old option interface indefinately then?02:33:21
@hexa:lossy.networkhexa* do you think we should support the old option interface indefinately then and just deprecated the backend?02:33:27
@emilazy:matrix.orgemilynot necessarily02:34:00
@hexa:lossy.networkhexabecause I would really hope that the average nixos user would arrive at a place where they can apply 7 lines of config for an interface02:34:02
@hexa:lossy.networkhexa* do you think we should support the old option interface indefinately then and just deprecate the backend?02:34:12
@hexa:lossy.networkhexahttps://wiki.nixos.org/wiki/Systemd-networkd#Examples already covers the basic use cases02:34:43
@emilazy:matrix.orgemilybut I think "ok, we're switching the backend, people have been using this for years but let us know if you run into any issues" → "ok, we're moving away from these options, you're already using networkd under the hood so you can migrate to an identical configuration" is easier to do as those two steps than if they have to switch both backend and migrate their config at the same time02:34:46
@hexa:lossy.networkhexathey will still have to map the configuration from a to b02:35:12
@emilazy:matrix.orgemilyyeah, but it will not risk behavioural changes at that point02:35:28
@emilazy:matrix.orgemilyit disentangles the two parts02:35:39
@hexa:lossy.networkhexathey will not understand the mapping02:35:45
@hexa:lossy.networkhexa* they will not understand the mapping that they've used though02:35:51
@hexa:lossy.networkhexasure, you can inspect that with the repl02:36:05
@hexa:lossy.networkhexabut who will realistically do that02:36:09
@hexa:lossy.networkhexait would probably be best to provide an alternative to networkd like ifstate and then set a date for 3 years in the future02:37:34
@emilazy:matrix.orgemilyI just generally feel it is better when you can make changes to interface and implementation separately. not always possible. but e.g. a zero-rebuild package refactor PR followed by something that cleans up the actual build process is way better than the two separately IMO02:37:37
@hexa:lossy.networkhexawhen the interface goes away02:37:38
@emilazy:matrix.orgemilybecause you can verify the first part easily, and do not have to treat it as an entire rewrite02:37:54
@hexa:lossy.networkhexaand start warning actively02:37:59
@emilazy:matrix.orgemilyor configuration switching behaviour is a total mess also, but rewriting it bug-for-bug in Rust was the right choice, because we got rid of the Perl with very very little breakage compared to if we had tried to renovate the entire logic02:38:28
@emilazy:matrix.orgemilyand now we have a codebase that is not ancient code in a language nobody wants to touch that improvements to the actual semantics can be iterated on02:38:43
@emilazy:matrix.orgemilyswitching out scripted initrd and cleaning up its exposed interfaces feel good to separate out for similar reasons to me02:39:06
@hexa:lossy.networkhexaI just feel that people will be afraid of touching network related things and fight any deprecation of the networking interfaces02:39:51
@emilazy:matrix.orgemilyI don't know why we need to provide an alternative though. we don't for systemd. if people hate networkd they can always assemble their own thing in their configs. I doubt there's anything scripted networking is good at that networkd is hopeless at, since scripted networking is not that great to begin with02:40:02
@hexa:lossy.networkhexabecause for some reason basic network knowledge is not very common for some reason02:40:06
@emilazy:matrix.orgemilyand NetworkManager already exists/works too02:40:08
@hexa:lossy.networkhexa* because for some reason basic network knowledge is not very common02:40:10

Show newer messages


Back to Room ListRoom Version: 6