wip: fix(copypary): zotero webdav
All checks were successful
build / build (push) Successful in 1m36s
All checks were successful
build / build (push) Successful in 1m36s
This commit is contained in:
@@ -13,10 +13,14 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
imports = [ ./copyparty/vault.nix ];
|
||||
imports = [
|
||||
./copyparty/vault.nix
|
||||
./copyparty/webdav.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
sydnix.deertopia.copyparty.vault.enable = true;
|
||||
sydnix.deertopia.copyparty.webdav.enable = true;
|
||||
|
||||
sydnix.impermanence.directories = [
|
||||
"/var/lib/copyparty"
|
||||
@@ -29,8 +33,8 @@ in {
|
||||
"media"
|
||||
];
|
||||
|
||||
# HACK: Make files created by copyparty.service initialise with the mode
|
||||
# 775.
|
||||
# HACK: Make files created by copyparty.service initialise with
|
||||
# the mode 775.
|
||||
systemd.services.copyparty.serviceConfig.UMask = lib.mkForce "002";
|
||||
|
||||
services.copyparty = {
|
||||
@@ -56,7 +60,7 @@ in {
|
||||
"/Media library" = {
|
||||
path = "/media/library";
|
||||
# View and upload, but no deleting.
|
||||
access.rw = "*";
|
||||
access.r = "*";
|
||||
access.rwmd = "@jellyfin-admin";
|
||||
};
|
||||
"/Torrents" = {
|
||||
|
||||
Reference in New Issue
Block a user