mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
7991d33650
Was initially afraid of how age is secure for the publicly showing secret files (even if encrypted). We'll start with something simple for now.
17 lines
628 B
Nix
17 lines
628 B
Nix
let
|
|
system1 =
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG42LafAFOeh3oYz/cm6FXes0ss59/EOCXpGsYvhpI21";
|
|
|
|
user1 =
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMclb6WPpYRoMVqCCzQcG2XQHczB6vaIEDIHqjVsyQJi";
|
|
user2 =
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBhrzY7tD0ZiGoA6nnfVxRQVQox0votQ2fuHz78LjNUD";
|
|
user3 =
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIytwsseYS6kV8ldiUV767C2Gy7okxckdDRW4aA3q/Ku";
|
|
user4 =
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGtn+t2D7clY1U1rzKcSCBJjNbuJzbRArEiM3soyFcnv";
|
|
in {
|
|
"archive/password".publicKeys = [ system1 user3 user4 ];
|
|
"archive/borgmatic.json".publicKeys = [ system1 user3 user4 ];
|
|
}
|