about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--profiles/backup.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/backup.nix b/profiles/backup.nix
index 59b4c18..d1075e2 100644
--- a/profiles/backup.nix
+++ b/profiles/backup.nix
@@ -1,6 +1,6 @@
-{ pkgs, config, lib, ... }:
+{ self, pkgs, config, lib, ... }:
 let
-  sshPub = builtins.fromTOML (builtins.readFile ../../configs/ssh-pubkeys.toml);
+  sshPub = builtins.fromTOML (builtins.readFile "${self}/configs/ssh-pubkeys.toml");
   secrets = config.age.secrets;
   ssh-key-path = secrets."rsync.net/ssh-key".path;
   backupDir = "/data/slow/backups/";