1
0
Fork 0
puter/hosts/vessel/filesystems.nix

32 lines
724 B
Nix
Raw Normal View History

2025-05-11 22:49:04 +02:00
{
2025-05-18 01:08:10 +02:00
boot.initrd.luks.devices = {
main.device = "/dev/disk/by-label/cryptmain";
vault.device = "/dev/disk/by-label/cryptvault";
void.device = "/dev/disk/by-label/cryptvoid";
sync.device = "/dev/disk/by-label/cryptsync";
};
2025-05-11 22:49:04 +02:00
fileSystems = {
"/" = {
2025-05-18 01:08:10 +02:00
device = "/dev/mapper/main";
2025-05-11 22:49:04 +02:00
fsType = "ext4";
options = [ "noatime" ];
};
"/srv/vault" = {
2025-05-18 01:08:10 +02:00
device = "/dev/mapper/vault";
2025-05-11 22:49:04 +02:00
fsType = "ext4";
options = [ "noatime" ];
};
"/srv/void" = {
2025-05-18 01:08:10 +02:00
device = "/dev/mapper/void";
2025-05-11 22:49:04 +02:00
fsType = "ext4";
options = [ "noatime" ];
};
"/srv/sync" = {
2025-05-18 01:08:10 +02:00
device = "/dev/mapper/sync";
2025-05-11 22:49:04 +02:00
fsType = "ext4";
options = [ "noatime" ];
};
};
}