use labels instead of uuid

This commit is contained in:
Mohamed Chrayed 2024-08-04 19:52:08 +02:00
parent 5f39e33a84
commit 5933998731

View File

@ -14,12 +14,12 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/5f195b5a-44b6-4d5b-a455-7c58b5007388"; { device = "/dev/disk/by-label/nixos-plasma6-24.05-x86_64";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9E6A-A728"; { device = "/dev/disk/by-label/EFIBOOT";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };