Files
Numbus/config-files/disks/content.nix
T
2025-12-07 10:11:30 +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 = "/etc/secrets/disks/content-disk-${DISK_NUMBER}";
content = {
type = "filesystem";
format = "xfs";
mountpoint = "/mnt/content-${DISK_NUMBER}";
};
};
};
};
};
};