2024-03-29 09:05:08 +03:00
|
|
|
{ ... }: {
|
|
|
|
fileSystems."/storage/cold_1" = {
|
|
|
|
device = "/dev/storage/cold_1";
|
|
|
|
fsType = "ext4";
|
2024-04-11 12:29:24 +03:00
|
|
|
options = [ "nofail" "noatime" ];
|
2024-03-29 09:05:08 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/storage/cold_2" = {
|
|
|
|
device = "/dev/storage/cold_2";
|
|
|
|
fsType = "ext4";
|
2024-04-11 12:29:24 +03:00
|
|
|
options = [ "nofail" "noatime" ];
|
2024-03-29 09:05:08 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/storage/hot" = {
|
|
|
|
device = "/dev/storage/hot";
|
|
|
|
fsType = "ext4";
|
2024-04-11 12:29:24 +03:00
|
|
|
options = [ "nofail" "noatime" ];
|
2024-03-29 09:05:08 +03:00
|
|
|
};
|
2024-06-15 17:42:05 +03:00
|
|
|
|
|
|
|
swapDevices = [{
|
2024-06-15 18:01:47 +03:00
|
|
|
device = "/storage/hot/.swapfile";
|
|
|
|
size = 128 * 1024;
|
|
|
|
options = [ "nofail" ];
|
2024-06-15 17:42:05 +03:00
|
|
|
}];
|
2024-03-29 09:05:08 +03:00
|
|
|
}
|