diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-08-27 12:34:56 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-08-27 12:34:56 -0400 |
commit | f8b365fcc983b73eadf638ca4e664d5b9e323d4c (patch) | |
tree | 91e1358061d552ef6d074573f99c676e7317527f /machines | |
parent | 2d2deace178ce2ca6f07fbe17855458b2ffc9ab2 (diff) |
fix boot device
Diffstat (limited to 'machines')
-rw-r--r-- | machines/dragon.nix | 12 |
1 files 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"; }; |