wynne,layne: mount data if present

This commit is contained in:
Adithya 2024-07-04 22:11:37 +05:30
parent abbc0c3919
commit f14435c34c
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 12 additions and 0 deletions

View file

@ -31,6 +31,12 @@ _: {
options = [ "subvol=/" "compress-force=zstd" "noatime" ]; options = [ "subvol=/" "compress-force=zstd" "noatime" ];
}; };
"/mnt/data" = {
device = "/dev/disk/by-partlabel/DATA2";
fsType = "btrfs";
options = [ "subvol=/" "compress-force=zstd" "noatime" "nofail" "x-systemd.automount" "x-systemd.device-timeout=5" ];
};
"/boot" = { "/boot" = {
device = "/dev/disk/by-partlabel/LAYNE_BOOT"; device = "/dev/disk/by-partlabel/LAYNE_BOOT";
fsType = "vfat"; fsType = "vfat";

View file

@ -31,6 +31,12 @@ _: {
options = [ "subvol=/" "compress-force=zstd" "noatime" ]; options = [ "subvol=/" "compress-force=zstd" "noatime" ];
}; };
"/mnt/data" = {
device = "/dev/disk/by-partlabel/DATA1";
fsType = "btrfs";
options = [ "subvol=/" "compress-force=zstd" "noatime" "nofail" "x-systemd.automount" "x-systemd.device-timeout=5" ];
};
"/boot" = { "/boot" = {
device = "/dev/disk/by-partlabel/WYNNE_BOOT"; device = "/dev/disk/by-partlabel/WYNNE_BOOT";
fsType = "vfat"; fsType = "vfat";