mirror of
https://codeberg.org/geekygays/nixconf.git
synced 2024-11-04 23:57:12 +00:00
Adds external bootloader drive to sol config.
The device is currrently a placeholder ID, another commit will replace it with the right one.
This commit is contained in:
parent
e3f18656e2
commit
56c4daf489
2 changed files with 14 additions and 1 deletions
|
@ -21,6 +21,19 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
disk = {
|
disk = {
|
||||||
|
boot = {
|
||||||
|
device = "/dev/disk/by-id/usb-0000";
|
||||||
|
type = "disk";
|
||||||
|
content = {
|
||||||
|
type = "table";
|
||||||
|
format = "msdos";
|
||||||
|
|
||||||
|
# No partitions, this is a flash drive to just store the bootloader
|
||||||
|
# because SuperMicro's BIOS doesn't support legacy boot from the
|
||||||
|
# storage backplane for some reason.
|
||||||
|
partitions = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
osdisk = {
|
osdisk = {
|
||||||
device = "/dev/disk/by-id/ata-ST9500420AS_5VJCBJ3C";
|
device = "/dev/disk/by-id/ata-ST9500420AS_5VJCBJ3C";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = config.disko.devices.disk.osdisk.device;
|
device = config.disko.devices.disk.boot.device;
|
||||||
efiSupport = false;
|
efiSupport = false;
|
||||||
gfxmodeBios = "auto";
|
gfxmodeBios = "auto";
|
||||||
configurationLimit = 5;
|
configurationLimit = 5;
|
||||||
|
|
Loading…
Reference in a new issue