Files
numbus-server/config-files/disks/content.nix
T
Raphael Numbus 17eb579a20 TEST
2025-12-06 22:22:16 +01:00

23 lines
656 B
Nix

"content-${DISK_NUMBER}" = {
type = "disk";
device = "${DISK_PATH}";
content = {
type = "gpt";
partitions = {
luks = {
size = "100%";
content = {
type = "luks";
name = "crypted-content-${DISK_NUMBER}";
settings.keyFile = "/run/secrets/disks/content-disk-${DISK_NUMBER}";
content = {
type = "filesystem";
format = "xfs";
mountpoint = "/mnt/content-${DISK_NUMBER}";
};
};
};
};
};
};