flake: add disks by label for easier install process

This commit is contained in:
Anthony Rodriguez 2024-09-15 15:14:01 +02:00
parent f815913096
commit 432dfa938d
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -14,12 +14,12 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/7c254bf5-bf22-40c5-812f-72358c69a23d";
{ device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/58CD-A7EA";
{ device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};