From f0596784a1352576199e6926aeb75222668adf93 Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 5 Jul 2025 23:24:58 +0000 Subject: [PATCH] feat: remove vmw_pvscsi on aarch64-linux --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 71cd533..853e295 100644 --- a/flake.nix +++ b/flake.nix @@ -572,14 +572,13 @@ system.stateVersion = "24.11"; }; - "hardware.hetzner" = {...}: { + "hardware.hetzner" = { pkgs, ...}: { boot.loader.grub.device = "/dev/sda"; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" - "vmw_pvscsi" - ]; + ] ++ (if pkgs.system != "aarch64-linux" then [ "vmw_pvscsi" ] else []); boot.initrd.kernelModules = ["nvme"]; fileSystems."/" = { device = "/dev/sda1";