fix the mount location and permissions
This commit is contained in:
parent
5e594142d6
commit
34fd796e7e
|
@ -84,15 +84,16 @@ in {
|
|||
enable = true;
|
||||
autoMaster = let
|
||||
mapConf = pkgs.writeText "auto" ''
|
||||
nextcloud -fstype=davfs,conf=${davfsconf},uid=myuid :https\:nextcloud.gladtherescake.eu/remote.php/webdav/
|
||||
nextcloud -fstype=davfs,conf=${davfsconf},uid=1003 :https\:nextcloud.gladtherescake.eu/remote.php/webdav/
|
||||
'';
|
||||
in ''
|
||||
/home/directory/mounts file:${mapConf}
|
||||
/home/jellyfinmediaplayer/webdav file:${mapConf}
|
||||
'';
|
||||
};
|
||||
|
||||
#uses port 8096
|
||||
services.jellyfin.enable = true;
|
||||
users.users.jellyfin.extraGroups = ["jellyfinmediaplayer"];
|
||||
|
||||
# Add stremio kiosk on wayland :)
|
||||
users.extraUsers.jellyfinmediaplayer.isNormalUser = true;
|
||||
|
|
Loading…
Reference in a new issue