!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

You have reached the beginning of time (for this room).


SenderMessageTime
29 Jun 2025
@hexa:lossy.networkhexayou can try to understand why we ship modemmanager14:54:47
@emilazy:matrix.orgemilyok14:54:55
@hexa:lossy.networkhexa
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
index d620e5e30fdf..01cb36fb99df 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
@@ -52,5 +52,13 @@
 
   programs.git.enable = lib.mkDefault true;
 
+  # Provide networkmanager for easy wireless configuration.
+  networking.networkmanager = {
+    enable = true;
+    enableDefaultPlugins = false;
+  };
+  networking.modemmanager.enable = lib.mkForce false;
+  networking.wireless.enable = lib.mkImageMediaOverride false;
+
   system.stateVersion = lib.mkDefault lib.trivial.release;
 }
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
index f73617694961..37998c334e5f 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
@@ -20,10 +20,6 @@
 
   services.xserver.enable = true;
 
-  # Provide networkmanager for easy wireless configuration.
-  networking.networkmanager.enable = true;
-  networking.wireless.enable = lib.mkImageMediaOverride false;
-
   # KDE complains if power management is disabled (to be precise, if
   # there is no power management backend such as upower).
   powerManagement.enable = true;
14:54:59
@hexa:lossy.networkhexawith this diff14:55:02
@hexa:lossy.networkhexa *
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
index d620e5e30fdf..01cb36fb99df 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
@@ -52,5 +52,13 @@
 
   programs.git.enable = lib.mkDefault true;
 
+  # Provide networkmanager for easy wireless configuration.
+  networking.networkmanager = {
+    enable = true;
+    enableDefaultPlugins = false;
+  };
+  networking.modemmanager.enable = lib.mkForce false;
+  networking.wireless.enable = lib.mkImageMediaOverride false;
+
   system.stateVersion = lib.mkDefault lib.trivial.release;
 }
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
index f73617694961..37998c334e5f 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
@@ -20,10 +20,6 @@
 
   services.xserver.enable = true;
 
-  # Provide networkmanager for easy wireless configuration.
-  networking.networkmanager.enable = true;
-  networking.wireless.enable = lib.mkImageMediaOverride false;
-
   # KDE complains if power management is disabled (to be precise, if
   # there is no power management backend such as upower).
   powerManagement.enable = true;
14:55:29
@emilazy:matrix.orgemilythe graphical ISO already has NM I presume14:55:38
@hexa:lossy.networkhexait has, we're moving it into the base config from there14:55:51
@emilazy:matrix.orgemilyyeah14:55:56
@emilazy:matrix.orgemilyNM depends on ModemManager directly. I'm not sure we should omit it (because WWAN may be the only available connectivity) unless we can't reduce the closure size sufficiently without14:58:39
@emilazy:matrix.orgemily I'm going to look at the nix-tree 14:58:43
@hexa:lossy.networkhexawe're at +38MB with that diff14:59:03
@emilazy:matrix.orgemily +249 MiB is from the nonsense openconnect VPN thing 14:59:15
@hexa:lossy.networkhexathere's probably not much more that can be saved from that stack14:59:20
@emilazy:matrix.orgemilyI guess your diff disables that because of the plugins thing?14:59:29
@hexa:lossy.networkhexa yeah, hence enableDefaultPlugin = false 14:59:29
@hexa:lossy.networkhexa * yeah, hence enableDefaultPlugins = false 14:59:32
@hexa:lossy.networkhexayes14:59:37
@hexa:lossy.networkhexaimage.png
Download image.png
15:00:03
@emilazy:matrix.orgemilyright. that's going to scupper offline installs with minimal ISO15:00:12
@emilazy:matrix.orgemily how about we yeet networkmanager-openconnect from there instead 15:00:18
@hexa:lossy.networkhexanot going to get into that15:00:38
@emilazy:matrix.orgemilywould be good to figure out if "default" is a judgement we're making or NM upstream is making15:00:38

Show newer messages


Back to Room ListRoom Version: 6