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