Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(pm/minion): use labels for drives

I've just switched over to a new, larger, SSD. This led to a repartition
which means my drive UUIDs became wrong. Rather than copy down the new
UUIDs, I decided it was nicer to use the drive labels - which also works

Changed files
+5 -5
packetmix
systems
+5 -5
packetmix/systems/redhead/hardware-configuration.nix
··· 37 37 }; 38 38 39 39 fileSystems."/" = { 40 - device = "/dev/disk/by-uuid/9ceb17f8-af04-42ae-9c5c-98b1e72c5a45"; 40 + device = "/dev/disk/by-label/persist"; 41 41 fsType = "btrfs"; 42 42 options = [ "subvol=@" ]; 43 43 }; 44 44 45 45 fileSystems."/nix" = { 46 - device = "/dev/disk/by-uuid/9ceb17f8-af04-42ae-9c5c-98b1e72c5a45"; 46 + device = "/dev/disk/by-label/persist"; 47 47 fsType = "btrfs"; 48 48 options = [ "subvol=@nix" ]; 49 49 }; ··· 53 53 clicks.storage.impermanence = { 54 54 enable = true; 55 55 devices = { 56 - root = "/dev/disk/by-uuid/9ceb17f8-af04-42ae-9c5c-98b1e72c5a45"; 57 - persist = "/dev/disk/by-uuid/9ceb17f8-af04-42ae-9c5c-98b1e72c5a45"; # Not a typo - using subvol=@persist on fileSystems."/persist" to put in a specific subvolume 56 + root = "/dev/disk/by-label/persist"; 57 + persist = "/dev/disk/by-label/persist"; # Not a typo - using subvol=@persist on fileSystems."/persist" to put in a specific subvolume 58 58 }; 59 59 }; 60 60 61 61 fileSystems."/boot" = { 62 - device = "/dev/disk/by-uuid/6181-C692"; 62 + device = "/dev/disk/by-label/BOOT"; 63 63 fsType = "vfat"; 64 64 options = [ 65 65 "fmask=0077"