nix/host/x86_64-linux/home/Filesystem.nix

39 lines
668 B
Nix
Raw Normal View History

{ ... }:
{
fileSystems = {
"/storage/cold_1" = {
device = "/dev/storage/cold_1";
fsType = "ext4";
options = [
"noatime"
"nofail"
];
};
2024-03-29 09:05:08 +03:00
"/storage/cold_2" = {
device = "/dev/storage/cold_2";
fsType = "ext4";
options = [
"noatime"
"nofail"
];
};
2024-03-29 09:05:08 +03:00
"/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
options = [
"noatime"
"nofail"
];
};
};
2024-06-15 17:42:05 +03:00
# swapDevices = [{
# device = "/storage/hot/.swapfile";
2024-12-25 06:50:24 +03:00
# randomEncryption.enable = true;
# size = 128 * 1024;
# options = [ "nofail" ];
# }];
2024-03-29 09:05:08 +03:00
}