From c3c48e342bd2f850a98f4ff7c2cc84fc31100d99 Mon Sep 17 00:00:00 2001
From: Lillian-Violet <git@lillianviolet.dev>
Date: Wed, 19 Mar 2025 22:18:34 +0100
Subject: [PATCH] set webdav password to user kodi

---
 nixos/hosts/wheatley/configuration.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix
index 62d0d7d..6c75e60 100644
--- a/nixos/hosts/wheatley/configuration.nix
+++ b/nixos/hosts/wheatley/configuration.nix
@@ -132,6 +132,7 @@
     secrets."webdav-secret" = {
       mode = "0600";
       path = "/etc/davfs2/secrets";
+      owner = config.users.users.kodi.name;
     };
 
     secrets."rpcSecret".mode = "0440";