config/secrets.nix

12 lines
392 B
Nix
Raw Normal View History

2023-04-05 16:50:43 +03:00
let
motiejus = "age1yubikey1qtwmhf7h7ljs3dyx06wyzme4st6w4calkdpmsxgpxc9t2cldezvasd6n8wg";
users = [ motiejus ];
hel1-a = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF6Wd2lKrpP2Gqul10obMo2dc1xKaaLv0I4FAnfIaFKu";
systems = [ hel1-a ];
in
{
2023-04-05 16:57:31 +03:00
"secrets/hel1-a/zfs-passphrase.age".publicKeys = [ hel1-a ] ++ users;
"secrets/hel1-a/borgbackup/password.age".publicKeys = [ hel1-a ] ++ users;
2023-04-05 16:50:43 +03:00
}