about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-12 11:27:51 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-12 11:27:51 -0700
commit9467a77ee2d50fb506c43b2472ca51bec089658c (patch)
tree78896a126d4e1add9a98393ab5d83b0720726b1e
parentprofiles/backup: configure the backup server (diff)
downloadworld-9467a77ee2d50fb506c43b2472ca51bec089658c.tar.gz
profiles/backup: fix path to the ssh keys
-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/";