mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-14 12:19:00 +00:00
hosts/plover: move GRUB config to Hetzner hardware config
This commit is contained in:
parent
f033756d6f
commit
a0219f6260
@ -42,8 +42,6 @@ in
|
|||||||
./modules/services/wireguard.nix
|
./modules/services/wireguard.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
domain = "foodogsquared.one";
|
domain = "foodogsquared.one";
|
||||||
|
@ -16,6 +16,9 @@ in
|
|||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(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.loader.grub.device = "/dev/sda";
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
|
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
|
||||||
boot.initrd.kernelModules = [ "nvme" ];
|
boot.initrd.kernelModules = [ "nvme" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user