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" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|