2024-03-29 09:05:08 +03:00
|
|
|
{ ... }: {
|
2024-08-02 23:45:19 +03:00
|
|
|
fileSystems = {
|
|
|
|
"/storage/cold_1" = {
|
|
|
|
device = "/dev/storage/cold_1";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "nofail" "noatime" ];
|
|
|
|
};
|
2024-03-29 09:05:08 +03:00
|
|
|
|
2024-08-02 23:45:19 +03:00
|
|
|
"/storage/cold_2" = {
|
|
|
|
device = "/dev/storage/cold_2";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "nofail" "noatime" ];
|
|
|
|
};
|
2024-03-29 09:05:08 +03:00
|
|
|
|
2024-08-02 23:45:19 +03:00
|
|
|
"/storage/hot" = {
|
|
|
|
device = "/dev/storage/hot";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "nofail" "noatime" ];
|
|
|
|
};
|
2024-03-29 09:05:08 +03:00
|
|
|
};
|
2024-06-15 17:42:05 +03:00
|
|
|
|
2024-08-14 02:19:47 +03:00
|
|
|
# swapDevices = [{
|
|
|
|
# device = "/storage/hot/.swapfile";
|
|
|
|
# size = 128 * 1024;
|
|
|
|
# options = [ "nofail" ];
|
|
|
|
# }];
|
2024-03-29 09:05:08 +03:00
|
|
|
}
|