feat(nixos): add copyparty opds volume

This commit is contained in:
2026-09-20 20:30:42 -04:00
parent 594877c4ba
commit f549c55cc7

View File

@@ -157,6 +157,12 @@
}; };
}; };
systemd.tmpfiles.rules = [
"d /pikachu/data/copyparty/root/inbox 2770 root storage - -"
"d /pikachu/data/copyparty/root/media 2770 root storage - -"
"d /pikachu/data/copyparty/root/opds 2770 root storage - -"
];
guests.copyparty = { guests.copyparty = {
enable = true; enable = true;
vlan = 20; vlan = 20;
@@ -198,6 +204,13 @@
"dthumb" "dthumb"
]; ];
}; };
"/opds" = {
hostPath = "/pikachu/data/opds";
path = "/pikachu/data/opds";
access.r = [ "alexion" ];
readOnly = true;
flags = [ "opds" ];
};
}; };
}; };