sets up restic on dnsc-server
This commit is contained in:
parent
3b2db23c98
commit
909db2cd31
4 changed files with 29 additions and 5 deletions
BIN
secrets/restic/password.age
Normal file
BIN
secrets/restic/password.age
Normal file
Binary file not shown.
|
|
@ -2,11 +2,16 @@ let
|
|||
dnsc-air = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvXWZOPOJJDAoF+Sx/ZLoAVu6G/7/MAWoknBgMAzjul dennis@dnsc-mac";
|
||||
dnsc-vps-sm = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHHS4Cq3G0yjoXB9qargJc/zbZdlClnJOcLxSC5ROo7h dennis@dnsc-vps-sm";
|
||||
dnsc-server = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM3mkEgvHrwjsEReHQHpLbMP71JLvp6XxMPyW7PTaLCd dennis@dnsc-server";
|
||||
systems = [ dnsc-air dnsc-vps-sm dnsc-server ];
|
||||
systems = [
|
||||
dnsc-air
|
||||
dnsc-vps-sm
|
||||
dnsc-server
|
||||
];
|
||||
in
|
||||
{
|
||||
# Add like this: "secret1.age".publicKeys = systems;
|
||||
"vaultwarden/env.age".publicKeys = systems;
|
||||
"restic/password.age".publicKeys = systems;
|
||||
}
|
||||
|
||||
# 1. Create a file with secret
|
||||
|
|
@ -19,4 +24,3 @@ in
|
|||
#
|
||||
# 3. And use it like this:
|
||||
# passwordFile = config.age.secrets.secret1.path;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue