pi/data/storage.nix
2026-03-14 12:24:29 +01:00

20 lines
432 B
Nix

rec {
sdcard = {
path = "/";
type = "ext4";
source = "/dev/disk/by-label/NIXOS_SD";
options = ["noatime"];
};
ssd = {
path = "/mnt/ssd";
type = "ext4";
source = "/dev/disk/by-uuid/a3ffb02e-fe9f-4bce-bd94-af0294ebff8f";
options = ["noatime"];
};
matrix-storage = {
path = "/var/lib/continuwuity";
type = "none";
source = "${ssd.path}/continuwuity";
options = ["bind"];
}
}