pi/data/storage.nix
Katharina Heidenreich 5aeacb7b41 fix: change storage
2026-03-14 15:25:57 +01:00

20 lines
411 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"];
};
varlib-storage = {
path = "/var/lib";
type = "none";
source = "${ssd.path}/lib";
options = ["bind"];
};
}