hosts: nixos: porthos: boot: use '/dev/disk/by-id'

Somehow `/dev/sda` and `/dev/sdb` switched around, so use a more stable
path.
This commit is contained in:
Bruno BELANYI 2023-07-23 22:02:06 +02:00
parent ae8d8d75fd
commit f363ae71a5

View file

@ -7,7 +7,7 @@
loader.grub = {
enable = true;
# Define on which hard drive you want to install Grub.
device = "/dev/sda";
device = "/dev/disk/by-id/ata-HGST_HUS724020ALA640_PN2181P6J58M1P";
};
initrd = {