From 34fd796e7e8a265885cb1cf63fe53c61e899c99a Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 4 Dec 2024 23:53:36 +0100 Subject: [PATCH] fix the mount location and permissions --- nixos/hosts/wheatley/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index 932d188..c930a36 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -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;