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

feat(minion): use labels for drives #118

closed opened by a.starrysky.fyi targeting main from private/minion/push-oqywmpqruopz

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

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3maoh3i6gc722
+5 -5
Diff #4
+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"

History

5 rounds 1 comment
sign up or login to add to the discussion
1 commit
expand
feat(pm/minion): use labels for drives
expand 1 comment

manually merged due to tangled error

closed without merging
1 commit
expand
feat(pm/minion): use labels for drives
expand 0 comments
1 commit
expand
feat(pm/minion): use labels for drives
expand 0 comments
1 commit
expand
feat(pm/minion): use labels for drives
expand 0 comments
1 commit
expand
feat(minion): use labels for drives
5/5 failed
expand
expand 0 comments