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