about summary refs log tree commit diff
path: root/hosts/tahoe
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/tahoe')
-rw-r--r--hosts/tahoe/services.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index 535eb8d..9bd9a35 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -1,6 +1,6 @@
 { ... }:
-
-{
+let secrets = config.age.secrets;
+in {
   my.services = {
     samba = {
       enable = true;
@@ -24,7 +24,7 @@
     backup = {
       repository = "/data/slow/backups/systems";
       timerConfig = { oncalendar = "00:15"; };
-      passwordFile = config.age.secrets.restic-repo-systemms.path;
+      passwordFile = secrets."restic/repo-systems".path;
       paths = [ "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ];
     };
   };