about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-10 18:11:00 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-10 18:11:00 -0700
commita38c143fb60e12e3f2ae63b5bccb809015d12988 (patch)
tree900d7558640293186e045d39d098afc2bef9814b
parentprofiles/music-server: moved navidrome (diff)
downloadworld-a38c143fb60e12e3f2ae63b5bccb809015d12988.tar.gz
profiles/music-server: fix backup configuration
Diffstat (limited to '')
-rw-r--r--profiles/music-server.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/music-server.nix b/profiles/music-server.nix
index 9ed665b..5757db5 100644
--- a/profiles/music-server.nix
+++ b/profiles/music-server.nix
@@ -34,7 +34,7 @@ in
   };
 
   my.services.backup = {
-    paths = [ systemd.services.navidrome.WorkingDirectory ];
-    exclude = [ "${systemd.services.navidrome.WorkingDirectory}/cache/" ];
+    paths = [ config.systemd.services.navidrome.serviceConfig.WorkingDirectory ];
+    exclude = [ "${config.systemd.services.navidrome.serviceConfig.WorkingDirectory}/cache/" ];
   };
 }