nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

netboot: add bootloader-related stuff only if they are available on host platform

+1 -4
+1 -4
nixos/modules/installer/netboot/netboot.nix
··· 38 38 boot.loader.grub.enable = false; 39 39 40 40 # !!! Hack - attributes expected by other modules. 41 - environment.systemPackages = [ pkgs.grub2_efi ] 42 - ++ (if pkgs.stdenv.hostPlatform.system == "aarch64-linux" 43 - then [] 44 - else [ pkgs.grub2 pkgs.syslinux ]); 41 + environment.systemPackages = lib.filter (lib.meta.availableOn pkgs.stdenv.hostPlatform) [ pkgs.grub2_efi pkgs.grub2 pkgs.syslinux ]; 45 42 46 43 fileSystems."/" = mkImageMediaOverride 47 44 { fsType = "tmpfs";