From 75194fb574e662f9dfe9d32471ec270dfbd47225 Mon Sep 17 00:00:00 2001 From: ctsk <9384305+ctsk@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:22:32 +0200 Subject: [PATCH] [fugitive] Discover devices by label instead of UUID --- lib/systems/fugitive/hardware.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/systems/fugitive/hardware.nix b/lib/systems/fugitive/hardware.nix index 92d53b1..75d71ef 100644 --- a/lib/systems/fugitive/hardware.nix +++ b/lib/systems/fugitive/hardware.nix @@ -20,20 +20,20 @@ fileSystems."/boot" = { - device = "/dev/disk/by-uuid/89B2-E6A2"; + device = "/dev/disk/by-label/Boot"; fsType = "vfat"; }; fileSystems."/nix" = { - device = "/dev/disk/by-uuid/19368166-7977-48b9-bc04-8fccaa22195f"; + device = "/dev/disk/by-label/Nixos"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" ]; }; fileSystems."/persist" = { - device = "/dev/disk/by-uuid/19368166-7977-48b9-bc04-8fccaa22195f"; + device = "/dev/disk/by-label/Nixos"; fsType = "btrfs"; neededForBoot = true; options = [ "subvol=persist" "compress=zstd" ];