!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
29 Jun 2025
@hexa:lossy.networkhexanah, nm is just instrumenting the vpn binary16:55:39
@hexa:lossy.networkhexaI think that's fine16:55:46
@emilazy:matrix.orgemily well I mean vs. pname conditionals 16:55:55
@hexa:lossy.networkhexainstall the plugin and you get the executable for free16:55:56
@emilazy:matrix.orgemily "system package gets added based on pname of something in the plugins option of another package's module" is not within expected behaviour for me 16:56:28
@emilazy:matrix.orgemilywell16:56:30
@hexa:lossy.networkhexayeah, this is a minimal approach to make it work16:56:32
@emilazy:matrix.orgemilyok I expect NixOS modules to do arbitrarily horrible things16:56:35
@hexa:lossy.networkhexayou add the plugin and we make sure it just works16:56:49
@emilazy:matrix.orgemilyif adding a package with a certain name disabled the firewall I'd probably just shrug :)16:56:51
@emilazy:matrix.orgemily yeah, but then you switch to your own packaging of networkmanager-openconnect-neo-fork and it stops working suddenly and it's spooky at a distance to find out why 16:57:18
@hexa:lossy.networkhexa we could add a withOpenConnect option to more clearly state what we're doing 16:57:22
@emilazy:matrix.orgemily which services.networkmanager.openconnect.enable wouldn't cause because you'd know there's integration going on 16:57:34
@hexa:lossy.networkhexabut I'm not a fan of having too many options for stuff like that16:57:44
@hexa:lossy.networkhexa hence removing the enableStrongSwan option … that among other things puts the plugin into the plugin list 16:57:57
@emilazy:matrix.orgemilyoptions are bad when they don't do actual system integration16:57:57
@emilazy:matrix.orgemilybut they're good when they actually are integrating things16:58:04
@emilazy:matrix.orgemilyimo16:58:08
@emilazy:matrix.orgemilycoordinating setting up multiple things that need to work together is why we define options at all16:58:30
@hexa:lossy.networkhexaso you are opposed to https://github.com/NixOS/nixpkgs/pull/421042/commits/3705a24271108f54e414e629861883d8b2aa7116?17:00:45
@hexa:lossy.networkhexaimage.png
Download image.png
17:01:49
@hexa:lossy.networkhexathis is probably the crucial part17:01:56
@hexa:lossy.networkhexawhere you think the package being in the list does too much?17:02:04
@emilazy:matrix.orgemilyyeah, though to be clear I don't want to hard block this17:03:24
@emilazy:matrix.orgemily but how about pkgs.networkmanager_strongswan.passthru.thingsNetworkManagerNeedsInPathAtRuntime 17:03:51
@emilazy:matrix.orgemilywhich can then be collected in a generic way17:03:56
@emilazy:matrix.orgemily er, nix the .passthru from the access path of course 17:04:08
@hexa:lossy.networkhexayeah, ideally17:04:13
@hexa:lossy.networkhexanmRuntimeDeps17:04:20
@emilazy:matrix.orgemilyyes17:04:28

Show newer messages


Back to Room ListRoom Version: 6