agenix/example/secrets.nix

11 lines
401 B
Nix
Raw Normal View History

2020-09-04 01:18:20 +03:00
let
user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0idNvgGiucWgup/mP78zyC23uFjYq0evcWdjGQUaBH";
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPJDyIr/FSz1cJdcoW69R+NrWzwGK/+3gJpqD1t8L2zE";
in
{
"secret1.age".publicKeys = [ user1 system1 ];
"secret1-copy.age".publicKeys = [ user1 system1 ];
"secret2.age".publicKeys = [ user1 ];
2021-05-10 00:22:48 +03:00
"passwordfile-user1.age".publicKeys = [ user1 system1 ];
2020-09-04 01:18:20 +03:00
}