From 4967c8b802beb2870078a823bc28b3cc73caff9a Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 6 Dec 2024 15:59:13 +0100 Subject: [PATCH] try and set the davfs2 secret file in the user folder instead --- nixos/hosts/wheatley/configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"; } ];