add secret for torus borg backup

This commit is contained in:
Tyler Starr 2024-09-14 08:59:15 -07:00
parent 9be3ce3f96
commit eda2998b0b
3 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,11 @@
owner = "${user}";
group = "users";
};
age.secrets."borg/torus/password" = {
file = ../../secrets/borg/torus/password.age;
owner = "${user}";
group = "users";
};
# Password-less login for user
users.users."${user}".openssh.authorizedKeys.keyFiles = [

Binary file not shown.

View File

@ -21,5 +21,6 @@ in
"ssh/kestrel/id_ed25519.pub.age".publicKeys = users ++ systems;
"ssh/torus/id_ed25519.age".publicKeys = [ tstarr_torus ] ++ systems;
"ssh/torus/id_ed25519.pub.age".publicKeys = users ++ systems;
"borg/torus/password.age".publicKeys = [ tstarr_torus ] ++ systems;
}