From f8b365fcc983b73eadf638ca4e664d5b9e323d4c Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 27 Aug 2023 12:34:56 -0400 Subject: fix boot device --- machines/dragon.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/machines/dragon.nix b/machines/dragon.nix index 67e3d87..ba597cf 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -77,11 +77,13 @@ in { terminal_output serial ''; loader.grub.enable = true; - # loader.grub.devices = [ "/dev/sda" "/dev/sdb" ]; - loader.grub.mirroredBoots = [ - { devices = [ "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X" ]; path = "/mnt/boot1"; } - { devices = [ "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKHV0LS" ]; path = "/mnt/boot2"; } - ]; + loader.grub.device = "/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_5B751B9A49E4-0:0"; + #loader.grub.device = "/dev/disk/by-id/ata-Samsung_SSD_870_QVO_8TB_S5VUNJ0W709838H"; + #loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2BW240H6_CVTR609508W0240CGN"; + #loader.grub.mirroredBoots = [ + # { devices = [ "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X" ]; path = "/mnt/boot1"; } + # { devices = [ "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKHV0LS" ]; path = "/mnt/boot2"; } + #]; }; networking = { hostName = lib.mkForce "dragon"; }; -- cgit v1.2.3