!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

911 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
29 Jun 2025
@hexa:lossy.networkhexait is networking scope04:02:28
@hexa:lossy.networkhexa* it is networking scoped04:02:28
@elvishjerricco:matrix.orgElvishJerricco yea the networking.* scope is pretty tangled 04:03:13
@emilazy:matrix.orgemilyI assume scripted networking was not really viewed as a single coherent thing when it was implemented04:11:16
@emilazy:matrix.orgemily(but it would suck to have to keep around the rest of it too)04:12:23
@hexa:lossy.networkhexait probably grew organically, yes04:15:19
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/42091204:17:00
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/issues/28730804:18:55
@hexa:lossy.networkhexahttps://github.com/orgs/NixOS/projects/8804:19:10
@hexa:lossy.networkhexaoh god04:19:11
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/pull/287105 relevant PR by some guy04:22:24
@elvishjerricco:matrix.orgElvishJerricco I think we should not do nixos-generate-config changes yet 04:23:36
@elvishjerricco:matrix.orgElvishJerricco just flipping useNetworkd = true should do the trick 04:23:48
@emilazy:matrix.orgemilyif we had done them years ago we'd not be quite this many stack layers deep into talk about how to deprecate the tangled interface :p04:24:20
@elvishjerricco:matrix.orgElvishJerriccoWell04:24:54
@elvishjerricco:matrix.orgElvishJerricco whatever we generate with nixos-generate-config should work for those who decide to disable useNetworkd 04:25:09
@emilazy:matrix.orgemilyI don't understand why04:25:57
@emilazy:matrix.orgemilywhy should generated configs be written to accommodate a migration option?04:26:18
@elvishjerricco:matrix.orgElvishJerriccoI still don't see it as a migration option04:26:36
@elvishjerricco:matrix.orgElvishJerricco I think the networking.* things are here to stay 04:26:43
@elvishjerricco:matrix.orgElvishJerriccoat least, many of them04:26:54
@emilazy:matrix.orgemilythat isn't what I meant (but we're returning to the long conversation this started with)04:27:01
@emilazy:matrix.orgemilychoosing scripted networking is a migration thing04:27:12
@emilazy:matrix.orgemilya new user who doesn't know how to adjust their networking config but wants to opt into scripted networking is not a relevant use case04:27:24
@emilazy:matrix.orgemilythe only reason we don't remove scripted networking tomorrow is existing users, not new ones04:27:41
@elvishjerricco:matrix.orgElvishJerricco In an ideal world, nixos-generate-config generates as little as possible, and calls on abstractions to do the real work. That way we can improve what was generated without having to regenerate anything 04:28:18
@elvishjerricco:matrix.orgElvishJerriccoit's worse to make a bunch of specific networkd configs than it is to just enable the most abstract possible options04:28:35
@emilazy:matrix.orgemilybut networkd config is their best attempt at abstract declarative configuration already04:29:03
@elvishjerricco:matrix.orgElvishJerriccoI mean04:29:13
@elvishjerricco:matrix.orgElvishJerriccoeh04:29:14

Show newer messages


Back to Room ListRoom Version: 6