diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index 4058874..5380321 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -76,8 +76,8 @@ sops.secrets."webdav-secret" = { mode = "0600"; - owner = config.users.users.root.name; - path = "/etc/davfs2/secrets"; + owner = config.users.users.jellyfinmediaplayer.name; + path = "/home/jellyfinmediaplayer/.davfs2/secrets"; }; services.davfs2.enable = true; @@ -90,7 +90,7 @@ what = "https://gladtherescake.eu/remote.php/dav/files/GLaDTheresCake"; 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"; } ];