!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
29 Jun 2025
@emilazy:matrix.orgemily hexa (clat on linux when): NM package has a hard openconnect dependency even though NM itself doesn't 15:13:05
@emilazy:matrix.orgemily

because

-    path = nm_utils_file_search_in_paths("openconnect",
-                                         "/usr/sbin/openconnect",
-                                         DEFAULT_PATHS,
-                                         G_FILE_TEST_IS_EXECUTABLE,
-                                         NULL,
-                                         NULL,
-                                         error);
-    if (!path)
-        return FALSE;
+    path = "@openconnect@/bin/openconnect";
15:13:16
@hexa:lossy.networkhexalovely15:13:32
@emilazy:matrix.orgemily it should just look it up in $PATH 15:13:40
@emilazy:matrix.orgemily and we can add things to the service's $PATH 15:13:44
@emilazy:matrix.orgemilylike normal15:13:46
@emilazy:matrix.orgemily it's possible nm_utils_file_search_in_paths even does hat, I don't know what DEFAULT_PATHS is 15:13:56
@emilazy:matrix.orgemilywe're definitely sure we want this instead of one option to turn on wired DHCP for networkd right? :P15:14:20
@hexa:lossy.networkhexayes, we're sure15:15:02
@hexa:lossy.networkhexaour networkmanager packaging being bad doesn't change that 😄 15:15:09
@emilazy:matrix.orgemily DEFAULT_PATHS is specific to this file and separate from the global NM_PATHS_DEFAULT 15:15:17
@k900:0upti.meK900
In reply to @emilazy:matrix.org
we're definitely sure we want this instead of one option to turn on wired DHCP for networkd right? :P
Yeah especially for wireless
15:15:20
@emilazy:matrix.orgemilyvery cool15:15:25
@emilazy:matrix.orgemily and it does not check actual $PATH 15:15:45
@hexa:lossy.networkhexado we really need modemmanager on the installer iso though?15:15:51
@saiko:knifepoint.net@saiko:knifepoint.netwhy not just iwd for wireless?15:16:01
@hexa:lossy.networkhexato pull multiple gigabytes of outputs from the cache15:16:13
@hexa:lossy.networkhexathat sounds a bit unrealistic15:16:17
@hexa:lossy.networkhexacrappy eap support15:16:24
@saiko:knifepoint.net@saiko:knifepoint.netahh.. :(15:16:32
@emilazy:matrix.orgemilyI'm not seeing gigabytes15:16:44
@hexa:lossy.networkhexaiirc the story is … drop your eap profiles into /var/lib/iwd somewhere15:16:51
@hexa:lossy.networkhexaand you cannot configure them interactively from networkmanager15:16:58
@hexa:lossy.networkhexayou know, the profiles, that your infrastructure administrator hands to you15:17:12
@emilazy:matrix.orgemily ModemManager closure is 237.98 MiB which is mostly like: systemd, glibc, etc. 15:17:19
@emilazy:matrix.orgemilyit doesn't seem to me like it should be adding much at all to NM closure if not for all this weird busted stuff15:17:33
@emilazy:matrix.orgemilythat hardcoded OpenConnect path is what makes NM huge15:17:41
@hexa:lossy.networkhexaotherwise I would gladly use it on the iso, given that it is quite a bit smaller than wpa_supplicant15:17:42
@emilazy:matrix.orgemily ✓ modemmanager-1.22.0 237.98 MiB (22.67 MiB) 15:17:57
@emilazy:matrix.orgemily so it adds 22.67 MiB to the NM closure assuming openconnect is there 15:18:13

Show newer messages


Back to Room ListRoom Version: 6