hosts/marvin: switch from disk uuids to labels

This commit is contained in:
Mr Hedgehog 2022-07-12 11:35:21 -04:00
parent 2d44567ced
commit ec54cdd45e
No known key found for this signature in database

View file

@ -52,12 +52,12 @@
fileSystems = {
"/" = {
fsType = "btrfs";
device = "/dev/disk/by-uuid/f15e4072-80dc-414e-a1fc-158ea441aebd";
device = "/dev/disk/by-label/nixos";
options = [ "subvol=@" ];
};
"/boot/efi" = {
fsType = "vfat";
device = "/dev/disk/by-uuid/EE05-66B4";
device = "/dev/disk/by-label/BOOT";
};
"/var" = {
fsType = "zfs";
@ -70,5 +70,5 @@
options = [ "zfsutil" ];
};
};
swapDevices = [{device = "/dev/disk/by-uuid/e69409bc-9cf0-4795-8620-33a021a4b729";}];
swapDevices = [{device = "/dev/disk/by-label/swap";}];
}