mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 18:57:32 -08:00
add keys for kestrel rsync login
This commit is contained in:
parent
07fa044aa1
commit
a815d65d26
@ -15,6 +15,16 @@
|
||||
owner = "${user}";
|
||||
group = "users";
|
||||
};
|
||||
age.secrets."borg/rsync/id_rsa" = {
|
||||
file = ../../secrets/borg/rsync/id_rsa.age;
|
||||
owner = "${user}";
|
||||
group = "users";
|
||||
};
|
||||
age.secrets."borg/rsync/id_rsa.pub" = {
|
||||
file = ../../secrets/borg/rsync/id_rsa.pub.age;
|
||||
owner = "${user}";
|
||||
group = "users";
|
||||
};
|
||||
|
||||
# Password-less logins for backup
|
||||
users.users."${user}".openssh.authorizedKeys.keyFiles = [
|
||||
@ -26,6 +36,10 @@
|
||||
Host torus
|
||||
AddKeysToAgent yes
|
||||
IdentityFile /run/agenix/ssh/kestrel/id_ed25519
|
||||
|
||||
Host fm2120.rsync.net
|
||||
AddKeysToAgent yes
|
||||
IdentityFile /run/agenix/borg/rsync/id_rsa
|
||||
'';
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user