feat(nixos): add copyparty opds volume
This commit is contained in:
@@ -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 = {
|
||||
enable = true;
|
||||
vlan = 20;
|
||||
@@ -198,6 +204,13 @@
|
||||
"dthumb"
|
||||
];
|
||||
};
|
||||
"/opds" = {
|
||||
hostPath = "/pikachu/data/opds";
|
||||
path = "/pikachu/data/opds";
|
||||
access.r = [ "alexion" ];
|
||||
readOnly = true;
|
||||
flags = [ "opds" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user