!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

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


SenderMessageTime
29 Jun 2025
@emilazy:matrix.orgemilyseems fine then12:59:46
@emilazy:matrix.orgemily I agree we should definitely gradually deprecate all the scripted networking.* stuff if we're not relying on it as a new user on-ramp then 13:00:24
@emilazy:matrix.orgemilymaybe keeping a small subset of the most basic parts of the networkd shim around as deprecated-but-works indefinitely13:01:00
@antifuchs:asf.computerantifuchshey folks, sorry for kicking off such a wild discussion with (what I thought was) an innocent question... I don't want to pile more work on top of y14:35:09
@emilazy:matrix.orgemilyit's an important discussion to have14:35:23
@emilazy:matrix.orgemilyand stuff that has become years overdue14:35:35
@emilazy:matrix.orgemilyscripted initrd and networking are definitely going away though, sorry :P14:35:44
@antifuchs:asf.computerantifuchs* hey folks, sorry for kicking off such a wild discussion with (what I thought was) an innocent question... I don't want to pile more work on top of y'all's plates, and just want to say that the way forward you all are on is great (:14:35:46
@antifuchs:asf.computerantifuchs(hit enter too soon, lol)14:35:53
@hexa:lossy.networkhexanot sorry 😄 14:36:05
@antifuchs:asf.computerantifuchsdon't be sorry, I am looking forward to this world14:36:17
@antifuchs:asf.computerantifuchshowever, I don't think I will be able to get this one system on it because it's gonna be a bunch of work that I can't invest right now and the cost of failure punishing (and failure will only be apparent at runtime when it's too late)14:37:19
@antifuchs:asf.computerantifuchsI realize there's mayyyybe a way forward for me though, that I can evaluate with fairly reduced risk; will give that a shot later (:14:39:02
@antifuchs:asf.computerantifuchs* however, I don't think I will be able to get this one system on it because it's gonna be a bunch of work that I can't invest right now and the cost of failure is punishing (and failure will only be apparent at runtime when it's too late)14:39:12
@emilazy:matrix.orgemilyit sounds like you need more VM tests14:51:49
@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

Show newer messages


Back to Room ListRoom Version: 6