| 29 Jun 2025 |
hexa | you know, the profiles, that your infrastructure administrator hands to you | 15:17:12 |
emily | ModemManager closure is 237.98 MiB which is mostly like: systemd, glibc, etc. | 15:17:19 |
emily | it doesn't seem to me like it should be adding much at all to NM closure if not for all this weird busted stuff | 15:17:33 |
emily | that hardcoded OpenConnect path is what makes NM huge | 15:17:41 |
hexa | otherwise I would gladly use it on the iso, given that it is quite a bit smaller than wpa_supplicant | 15:17:42 |
emily | ✓ modemmanager-1.22.0 237.98 MiB (22.67 MiB) | 15:17:57 |
emily | so it adds 22.67 MiB to the NM closure assuming openconnect is there | 15:18:13 |
emily | and seems like little overlap | 15:18:18 |
emily | so the networkmanager → modemmanager dep is not problematic | 15:18:27 |
emily | the modemmanager module may be | 15:18:29 |
K900 | Yeah, NM doesn't support provisioning 802.1x secrets into iwd | 15:18:45 |
emily | hm no, module looks benign too | 15:18:59 |
K900 | And iwd doesn't want to deal with external secret providers | 15:19:00 |
hexa | we're in the +38 MB range and modemmanager is another 13 MB (just the package output) | 15:19:12 |
emily | so I don't know what's making modemmanager look huge but I can't corroborate it | 15:19:13 |
hexa | * we're in the +38 MB range and modemmanager is another 13 MB (just the package output) we could save | 15:19:26 |
K900 | And neither side wants to actually sort this out | 15:19:35 |
emily | so, again openconnect is by far the hugest part of this | 15:19:40 |
hexa | so I'm not feeling strongly about removing it, but I don't think the use case is that great to begin with | 15:19:45 |
emily | it adds 249.55 MiB to the networkmanager closure | 15:19:49 |
hexa | doubt | 15:19:53 |
hexa | well, not doubt | 15:19:57 |
emily | out of 520.45 MiB | 15:19:59 |
emily | nix-tree nixpkgs#networkmanager, look yourself | 15:20:08 |
hexa | why do I get such a small closure size increase then? | 15:20:10 |
hexa | did we have that in there before? | 15:20:20 |
emily | you aren't eliminating openconnect from networkmanager the package | 15:20:24 |
emily | just the plugin, which is a separate thing that also pulls it in | 15:20:30 |
emily | get rid of the fix-paths.patch in NM and it should get a lot smaller | 15:20:38 |
emily | we have to actually… fix that, of course | 15:20:46 |