!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
29 Jun 2025
@emilazy:matrix.orgemilynixos-facter might achieve it more04:33:51
@elvishjerricco:matrix.orgElvishJerriccoI mean sure but we're not also going to tack that onto the todo list for this04:34:06
@emilazy:matrix.orgemilyI don't think it is really bad to expose people to networkd config. that is what they are expected to write on Arch etc.04:35:01
@elvishjerricco:matrix.orgElvishJerriccoThat isn't the point04:35:10
@elvishjerricco:matrix.orgElvishJerriccoI don't care if users are exposed to it or not04:35:18
@elvishjerricco:matrix.orgElvishJerriccoI care that what we generated one day is something we can continue to maintain the next04:35:29
@emilazy:matrix.orgemilyNixOS can't be in the game of making its own complex abstraction layers for everything in the system04:35:32
@elvishjerricco:matrix.orgElvishJerriccowe can't make changes to generated configs04:35:33
@elvishjerricco:matrix.orgElvishJerriccowe can make changes to abstraction implementations04:35:38
@emilazy:matrix.orgemilyI still think hardware-configuration is a red herring here04:35:49
@hexa:lossy.networkhexaThe users that use the unmaintained shit don't maintain the abstractions04:35:53
@elvishjerricco:matrix.orgElvishJerricco it's literally the only thing nixos-generate-config is about? 04:36:02
@emilazy:matrix.orgemily"I want DHCP by default" is configuration.nix not hardware-configuration.nix teritory04:36:04
@hexa:lossy.networkhexaWhatever we give as a configuration.nix is mutable by default04:36:14
@emilazy:matrix.orgemilyand there's no promise that configuration.nix never has to change04:36:15
@hexa:lossy.networkhexaAnd everyone manages to enable network manager on their laptop as well04:36:29
@hexa:lossy.networkhexaor not, idk04:36:32
@emilazy:matrix.orgemily
In reply to @elvishjerricco:matrix.org
it's literally the only thing nixos-generate-config is about?
it generates a configuration.nix too, does it not?
04:36:40
@emilazy:matrix.orgemilyI haven't actually run it in years04:36:46
@elvishjerricco:matrix.orgElvishJerricco I mean if you just want to move all networking stuff out of hardware-configuration.nix altogether that's a different thing. 04:36:52
@hexa:lossy.networkhexaRedacted or Malformed Event04:36:59
@hexa:lossy.networkhexaRedacted or Malformed Event04:37:02
@elvishjerricco:matrix.orgElvishJerricco networking.useDHCP = lib.mkDefault true; goes in hardware-configuration.nix 04:37:27
@hexa:lossy.networkhexasorry, I might be wrong04:37:31
@hexa:lossy.networkhexa that's stupid to have in hardware parts 04:37:40
@emilazy:matrix.orgemilythings that aren't hardware config should certainly not be in there04:37:47
@emilazy:matrix.orgemilyso that is more reason to change the generator :P04:38:01
@hexa:lossy.networkhexaif we wanted that to be a default, why not set the default in nixpkgs 😄 04:38:12
@emilazy:matrix.orgemilyI guess it actually is hardware-y right now04:38:29
@emilazy:matrix.orgemilybecause it iterates over /sys04:38:36

Show newer messages


Back to Room ListRoom Version: 6