checks: move ssh_keys to lib/ssh

This commit is contained in:
lassulus
2023-12-16 22:52:01 +01:00
parent b47a8d00a1
commit dc08be2879
4 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
services.openssh.enable = true;
services.borgbackup.repos.testrepo = {
authorizedKeys = [
(builtins.readFile ./borg_test.pub)
(builtins.readFile ../lib/ssh/pubkey)
];
};
}
@@ -22,7 +22,7 @@
enable = true;
destinations.test = {
repo = "borg@localhost:.";
rsh = "ssh -i ${./borg_test} -o StrictHostKeyChecking=no";
rsh = "ssh -i ${../lib/ssh/privkey} -o StrictHostKeyChecking=no";
};
};
}