fix the mount location and permissions

This commit is contained in:
Lillian Violet 2024-12-04 23:53:36 +01:00
parent 5e594142d6
commit 34fd796e7e

View file

@ -84,15 +84,16 @@ in {
enable = true; enable = true;
autoMaster = let autoMaster = let
mapConf = pkgs.writeText "auto" '' 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 '' in ''
/home/directory/mounts file:${mapConf} /home/jellyfinmediaplayer/webdav file:${mapConf}
''; '';
}; };
#uses port 8096 #uses port 8096
services.jellyfin.enable = true; services.jellyfin.enable = true;
users.users.jellyfin.extraGroups = ["jellyfinmediaplayer"];
# Add stremio kiosk on wayland :) # Add stremio kiosk on wayland :)
users.extraUsers.jellyfinmediaplayer.isNormalUser = true; users.extraUsers.jellyfinmediaplayer.isNormalUser = true;