Skip to content

Commit bb5370b

Browse files
committed
nixos/modules/installer/netboot/netboot-minimal: reduce closure size
1 parent 3e3367a commit bb5370b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

nixos/doc/manual/release-notes/rl-2305.section.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ In addition to numerous new and upgraded packages, this release has the followin
183183

184184
- To reduce closure size in `nixos/modules/profiles/minimal.nix` profile disabled installation documentations and manuals. Also disabled `logrotate` and `udisks2` services.
185185

186+
- To reduce closure size in `nixos/modules/installer/netboot/netboot-minimal.nix` profile disabled load linux firmwares, pre-installing the complete stdenv and `networking.wireless` service.
187+
186188
- The minimal ISO image now uses the `nixos/modules/profiles/minimal.nix` profile.
187189

188190
- The `ghcWithPackages` and `ghcWithHoogle` wrappers will now also symlink GHC's

nixos/modules/installer/netboot/netboot-minimal.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
];
1010

1111
documentation.man.enable = lib.mkOverride 500 true;
12+
hardware.enableRedistributableFirmware = lib.mkOverride 70 false;
13+
system.extraDependencies = lib.mkOverride 70 [];
14+
networking.wireless.enable = lib.mkOverride 500 false;
1215
}

0 commit comments

Comments
 (0)