diff --git a/machines/gerd.nix b/machines/gerd.nix index c2a8eeb..381f563 100644 --- a/machines/gerd.nix +++ b/machines/gerd.nix @@ -16,10 +16,6 @@ in { networking.hostName = "gerd"; networking.hostId = "e1166ac9"; - boot.loader.grub = { - efiSupport = true; - efiInstallAsRemovable = true; - }; mine = { state.enable = true; diff --git a/shared/platforms/hetzner.nix b/shared/platforms/hetzner.nix index 766829d..dc36f9a 100644 --- a/shared/platforms/hetzner.nix +++ b/shared/platforms/hetzner.nix @@ -29,6 +29,12 @@ in { loader = { grub.enable = true; grub.device = "/dev/sda"; + + # TODO(eyJhb): temp, something about disko + # https://github.com/nix-community/disko/issues/572 + # can't be removed even when the VPS does not use UEFI + grub.efiSupport = true; + grub.efiInstallAsRemovable = true; }; initrd = {