hosts/plover: move GRUB config to Hetzner hardware config

This commit is contained in:
Gabriel Arazas 2023-06-20 19:33:32 +08:00
parent f033756d6f
commit a0219f6260
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 3 additions and 2 deletions

View File

@ -42,8 +42,6 @@ in
./modules/services/wireguard.nix
];
boot.loader.grub.enable = true;
networking = {
nftables.enable = true;
domain = "foodogsquared.one";

View File

@ -16,6 +16,9 @@ in
(modulesPath + "/profiles/qemu-guest.nix")
];
# Hetzner can only support non-UEFI bootloader (or at least it doesn't with
# systemd-boot).
boot.loader.grub.enable = lib.mkForce true;
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ "nvme" ];