nixpkgs/nixos/modules
Erik Arvstedt 64589bcefa
nixos/netboot: use makeInitrdNG to shrink ramdisk size
Previously, `makeInitrd` added the whole closure of the squashfs
derivation to initrd.
This closure contains the squashfs.img and some store paths which are
still referenced by the compressed squashfs.img.
These extra store paths are unused in stage 1.

With `makeInitrdNG` only the squashfs.img is added to the initrd.
(`makeInitrdNG` only resolves shared library references instead of the
whole closure).

This shrinks the netboot ramdisk by ~6% for a minimal system and
significantly decreases the size of the uncompressed root filesystem
in stage 1.
2022-06-07 22:34:30 +02:00
..
config Merge pull request #168168 from fedeinthemix/home-mode 2022-05-23 12:27:49 +02:00
hardware Merge pull request #174058 from jian-lin/fix-nvidia.powerManagement.finegrained-only-apply-workarounds-when-needed 2022-06-02 17:55:23 +01:00
i18n/input-method nixos/fcitx5: add the setting of RIME_DATA_DIR and options for rime-data 2022-04-25 13:39:19 +08:00
installer nixos/netboot: use makeInitrdNG to shrink ramdisk size 2022-06-07 22:34:30 +02:00
misc Merge pull request #174829 from blaggacao/fix/cleanup-nixpkgs-initial-system 2022-05-31 16:26:25 +02:00
profiles Merge pull request #169113 from ElvishJerricco/systemd-stage-1-installer-tests 2022-04-30 13:18:57 -07:00
programs nixos/atop: Convert log format to fix service start 2022-05-31 07:21:01 +02:00
security Merge pull request #156822 from xfix/wrapper-assert-argc-at-least-one 2022-05-16 18:52:51 +02:00
services Merge pull request #176116 from pennae/unifi-remove-deprecated 2022-06-04 20:52:34 +00:00
system nixos/systemd-boot: fix systemd-boot-builder refusing to update 2022-06-01 11:49:07 +02:00
tasks nixos/network-interfaces: add networking.interfaces.<name>.ipv[46].routes.type 2022-06-02 19:16:25 +01:00
testing nixos/version: Warn about using the default of system.stateVersion 2022-05-05 12:22:31 +02:00
virtualisation nixos/vmware-guest: Remove the video driver 2022-05-30 11:56:21 +02:00
module-list.nix Merge pull request #174956 from MatthiasBenaets/new-lg4ff 2022-06-01 16:42:55 +02:00
rename.nix nixos/ssmtp: drop module 2022-04-17 00:44:50 +02:00