diff options
author | Soispha <soispha@vhack.eu> | 2023-07-08 11:16:40 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-08 11:16:40 +0200 |
commit | 40458f49ebada72ccd8c62ac16d1a9b5c4345b80 (patch) | |
tree | 9637b90f4ccea3fe4327db6220f836f13c5a9845 /hosts/server1 | |
parent | Merge branch 'disko' (diff) | |
download | nixos-server-40458f49ebada72ccd8c62ac16d1a9b5c4345b80.tar.gz nixos-server-40458f49ebada72ccd8c62ac16d1a9b5c4345b80.zip |
Fix(system/disks): Change partitioning scheme to support gpt/bios boot
Diffstat (limited to 'hosts/server1')
-rw-r--r-- | hosts/server1/hardware.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/server1/hardware.nix b/hosts/server1/hardware.nix index 9fabafe..6086362 100644 --- a/hosts/server1/hardware.nix +++ b/hosts/server1/hardware.nix @@ -3,6 +3,7 @@ (modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/headless.nix") ]; + # FIXME: The name of the grub device depends on the disko settings boot.loader.grub.device = "/dev/vda"; boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; boot.initrd.kernelModules = []; |