!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
29 Jun 2025
@hexa:lossy.networkhexacan we not walk that back?04:57:04
@hexa:lossy.networkhexa* can we not walk that back w/o a good reason?04:57:10
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
because I feel like "oh yeah to declaratively configure that you want to turn off NM that the generated config has and switch to this" is maybe not actually better
well, ^
04:57:33
@emilazy:matrix.orgemilyit was more a flippant reaction to the no networkd config constraint04:57:52
@emilazy:matrix.orgemilyit's fine for desktop users at least04:58:06
@hexa:lossy.networkhexathat's why I proposed shipping with examples for a declarative networkd config, that matches an explicit interface and shows a dhcp/ra and static example04:58:07
@emilazy:matrix.orgemilyI don't know if it's the right onramp for servers04:58:16
@emilazy:matrix.orgemily
In reply to @hexa:lossy.network
that's why I proposed shipping with examples for a declarative networkd config, that matches an explicit interface and shows a dhcp/ra and static example
as in NM enabled but commented out networkd example?
04:58:30
@uep:matrix.orguepsure, even if it's commented out or wahtever04:58:33
@hexa:lossy.networkhexawe don't want it to be networking.interfaces04:58:33
@emilazy:matrix.orgemilyI worry about bitrot with that kind of thing but seems reasonable enough04:58:47
@emilazy:matrix.orgemily I don't think it solves @elvishjerricco:matrix.org's scariness complaint though 04:59:03
@emilazy:matrix.orgemilyor we could just ship it as the actual config04:59:11
@elvishjerricco:matrix.orgElvishJerriccoI'd keep that stuff in the manual, not in a generated comment04:59:23
@hexa:lossy.networkhexawe need to confront people more with network config, not less 🙂 04:59:33
@elvishjerricco:matrix.orgElvishJerriccoI don't really agree04:59:41
@elvishjerricco:matrix.orgElvishJerriccomost people setting up nixos don't want to think twice about networking04:59:50
@hexa:lossy.networkhexaits something you want to have when you don't have network though04:59:52
@hexa:lossy.networkhexaand making changes to something you already have in your config is easier than copying it from the manual, badly05:00:18
@elvishjerricco:matrix.orgElvishJerriccoI think explaining to the user how to do something more interesting is very much the job of the manual05:00:55
@hexa:lossy.networkhexaI'd say the same about initrd related options, but here we are05:00:59
@elvishjerricco:matrix.orgElvishJerriccoHm?05:01:19
@uep:matrix.orguepthere's another aspect too, for installers (including generate-config). A bit like it discovers and embeds the partition uuid's for filesystem mountpoints, perhaps it could capture some of what is configured for networking during install.05:01:22
@uep:matrix.orguepi kind of assume to gooey installer does that already, but i've never used it05:01:46
@elvishjerricco:matrix.orgElvishJerriccoI think file systems are considered a more permanent feature than a networking configuration05:03:10
@elvishjerricco:matrix.orgElvishJerriccowhich is why NM is the goto for most distros05:03:17
@elvishjerricco:matrix.orgElvishJerriccobecause it handles it dynamically05:03:22
@uep:matrix.orguepagree05:03:22
@hexa:lossy.networkhexawe already agreed on nm 😄 05:03:42
@hexa:lossy.networkhexalalala05:03:45

Show newer messages


Back to Room ListRoom Version: 6