Change hardware config to point to labels instead of UUID

This commit is contained in:
TheWanderingCrow 2024-09-15 01:26:40 +00:00
parent c8469703a2
commit 92db98ae68

View file

@ -38,12 +38,12 @@
}; };
fileSystems."/mnt" = fileSystems."/mnt" =
{ device = "/dev/disk/by-uuid/cc7fc1f5-77b0-4fd6-89c2-dde99d6247ca"; { device = "/dev/disk/by-label/nixos";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/mnt/boot" = fileSystems."/mnt/boot" =
{ device = "/dev/disk/by-uuid/73DE-6834"; { device = "/dev/disk/by-label/boot";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };