try and set the davfs2 secret file in the user folder instead
This commit is contained in:
parent
123d839f5e
commit
4967c8b802
|
@ -76,8 +76,8 @@
|
||||||
|
|
||||||
sops.secrets."webdav-secret" = {
|
sops.secrets."webdav-secret" = {
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
owner = config.users.users.root.name;
|
owner = config.users.users.jellyfinmediaplayer.name;
|
||||||
path = "/etc/davfs2/secrets";
|
path = "/home/jellyfinmediaplayer/.davfs2/secrets";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.davfs2.enable = true;
|
services.davfs2.enable = true;
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
|
|
||||||
what = "https://gladtherescake.eu/remote.php/dav/files/GLaDTheresCake";
|
what = "https://gladtherescake.eu/remote.php/dav/files/GLaDTheresCake";
|
||||||
where = "/home/jellyfinmediaplayer/nextcloud";
|
where = "/home/jellyfinmediaplayer/nextcloud";
|
||||||
options = "uid=1003,gid=990,file_mode=0664,dir_mode=2775";
|
options = "uid=1003,gid=100,file_mode=0664,dir_mode=2775";
|
||||||
type = "davfs";
|
type = "davfs";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue