Use labels for filesystems in greatyamada
This commit is contained in:
parent
aaf9a98e7a
commit
15ba95c26a
1 changed files with 5 additions and 16 deletions
|
@ -1,39 +1,28 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/61050e8d-41c6-4c37-98a9-d8b0cdce6903";
|
device = "/dev/disk/by-label/NIXROOT";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress=zstd:15" ];
|
options = [ "compress=zstd:15" ];
|
||||||
};
|
};
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/3397-A4FF";
|
device = "/dev/disk/by-label/NIXBOOT";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
"/home" = {
|
|
||||||
device = "/dev/disk/by-uuid/61050e8d-41c6-4c37-98a9-d8b0cdce6903";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "compress=zstd:15" "subvol=/home" ];
|
|
||||||
};
|
|
||||||
"/mnt/Datos" = {
|
"/mnt/Datos" = {
|
||||||
device = "/dev/disk/by-uuid/6a5274fc-8ee8-41ae-b7a0-867e5bbc25f4";
|
device = "/dev/disk/by-label/Datos";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress=zstd:15" ];
|
options = [ "compress=zstd:15" ];
|
||||||
};
|
};
|
||||||
"/mnt/Datos/minecraft" = {
|
"/mnt/Datos/minecraft" = {
|
||||||
device = "/dev/disk/by-uuid/6a5274fc-8ee8-41ae-b7a0-867e5bbc25f4";
|
device = "/dev/disk/by-label/Datos";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress=zstd:4" "subvol=/minecraft" ];
|
options = [ "compress=zstd:4" "subvol=/minecraft" ];
|
||||||
};
|
};
|
||||||
"/mnt/Datos/music" = {
|
"/mnt/Datos/music" = {
|
||||||
device = "/dev/disk/by-uuid/6a5274fc-8ee8-41ae-b7a0-867e5bbc25f4";
|
device = "/dev/disk/by-label/Datos";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=/music" ];
|
options = [ "subvol=/music" ];
|
||||||
};
|
};
|
||||||
"/var/www" = {
|
|
||||||
device = "/dev/disk/by-uuid/6a5274fc-8ee8-41ae-b7a0-867e5bbc25f4";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "compress=zstd:15" "subvol=/html" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue