diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-12 11:27:51 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-12 11:27:51 -0700 |
commit | 9467a77ee2d50fb506c43b2472ca51bec089658c (patch) | |
tree | 78896a126d4e1add9a98393ab5d83b0720726b1e | |
parent | profiles/backup: configure the backup server (diff) | |
download | world-9467a77ee2d50fb506c43b2472ca51bec089658c.tar.gz |
profiles/backup: fix path to the ssh keys
-rw-r--r-- | profiles/backup.nix | 4 |
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/"; |