!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

900 Members
on your Router! Declaratively manage your switching, routing, wireless, tunneling and more.262 Servers

Load older messages


SenderMessageTime
29 Jun 2025
@emilazy:matrix.orgemilywhich your change fixes04:38:41
@uep:matrix.orguepi agree but it's some kind of workaround for arguments about the default04:38:52
@uep:matrix.orguep(the details of which I forget)04:39:03
@emilazy:matrix.orgemilythat's also another reason to change it because enumerating only the interfaces that exist at installation to enable DHCP is...04:39:04
@emilazy:matrix.orgemilyjust...04:39:09
@elvishjerricco:matrix.orgElvishJerricco Ok, well if we move it to configuration.nix, we have a different problem that also encourages keeping the abstraction: That file is meant to be the user's introduction to NixOS configuration. It should not contain scary implementation details. 04:39:29
@hexa:lossy.networkhexaI really think we need to confront new users with networking 😄 04:39:35
@elvishjerricco:matrix.orgElvishJerricco that isn't how it works with useNetworkd 04:39:45
@hexa:lossy.networkhexaits just not okay to treat them with kids gloves04:39:45
@emilazy:matrix.orgemilythey're not scary implementation details04:39:53
@emilazy:matrix.orgemilyit's intended UI04:40:07
@emilazy:matrix.orgemilyif we think the UI is bad we can ship NM or whatever instead04:40:28
@elvishjerricco:matrix.orgElvishJerricco Everything else we generate in configuration.nix is intended to be very simple and friendly. A networkd config is definitely lower level than anything else we put in there 04:40:42
@emilazy:matrix.orgemilybut we can't maintain our own version of every part of the stack04:40:48
@elvishjerricco:matrix.orgElvishJerricco It's literally just networking.useDHCP.... 04:41:05
@emilazy:matrix.orgemily
In reply to @elvishjerricco:matrix.org
Everything else we generate in configuration.nix is intended to be very simple and friendly. A networkd config is definitely lower level than anything else we put in there
then let's default to NM which handles stuff OOTB without config?
04:41:16
@emilazy:matrix.orgemily
In reply to @elvishjerricco:matrix.org
It's literally just networking.useDHCP....
I'm fine with that option existing like I said
04:41:33
@emilazy:matrix.orgemilybut I disagree with the idea that we can feasibly own all but the most trivial UX here04:42:03
@emilazy:matrix.orgemilyit's a deep domain knowledge area with a lot of modelling in the tools04:42:26
@emilazy:matrix.orgemilywe're not well positioned to maintain a UI to that any better than the projects already doing it04:42:42
@hexa:lossy.networkhexaso I missed that this was in hardware-configuration.nix to begin with04:42:45
@elvishjerricco:matrix.orgElvishJerriccofrankly, NM is kinda the simple default, which is why other distros default to it even on server installations.04:43:00
@emilazy:matrix.orgemilyI just said let's default to NM then :)04:43:14
@hexa:lossy.networkhexayeah, then let's go for that04:43:19
@emilazy:matrix.orgemily it's less NixOS-y but shrug 04:43:40
@emilazy:matrix.orgemily the average user has fairly dynamic networking configuration anyway 04:43:56
@emilazy:matrix.orgemilyWiFi etc.04:43:59
@hexa:lossy.networkhexawe ship with mutableUsers = false as well 😛 04:44:00
@emilazy:matrix.orgemily well that's unforgivable 04:44:08
@emilazy:matrix.orgemilyalso the source of more new user confusion than benefit probably :p04:44:23

Show newer messages


Back to Room ListRoom Version: 6