diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2024-06-07 13:00:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 13:00:41 +0200 |
commit | 29327b68ddd92d2a1f41e8d0683881fa8b71b5ad (patch) | |
tree | 88126dc0beea215b86bd0051db6845fea7f02f54 /nixos/modules | |
parent | e5f8367fc3e2be5d92433ce0e61c4f32daeb219d (diff) | |
parent | c71ebe0dc8f5540a9f5526d88377a906192b5d69 (diff) |
Merge pull request #312863 from Mic92/netboot
netboot: drop syslinux and grub (10% savings for nixos-anywhere images)
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/installer/netboot/netboot.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/installer/netboot/netboot.nix b/nixos/modules/installer/netboot/netboot.nix index 2228766aca963..93f806b75eb11 100644 --- a/nixos/modules/installer/netboot/netboot.nix +++ b/nixos/modules/installer/netboot/netboot.nix @@ -37,11 +37,6 @@ with lib; # here and it causes a cyclic dependency. boot.loader.grub.enable = false; - # !!! Hack - attributes expected by other modules. - environment.systemPackages = [ pkgs.grub2_efi ] - ++ (lib.optionals (lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.syslinux) - [pkgs.grub2 pkgs.syslinux]); - fileSystems."/" = mkImageMediaOverride { fsType = "tmpfs"; options = [ "mode=0755" ]; |