os/secrets/secrets.nix

11 lines
433 B
Nix
Raw Normal View History

let
# set ssh public keys here for your system and user
2021-06-27 15:18:24 +00:00
dumpyourvms = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILDATEWAgDZFfYs1ZPh33Kg4sqQ9tWMVKyk8XqFu3Koe host@dumpyourvms";
teutat3s = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf teutat3s@dumpyourvms";
allKeys = [ dumpyourvms teutat3s ];
in
{
2021-06-27 15:18:24 +00:00
"example-secret.age".publicKeys = allKeys;
2021-10-23 23:14:04 +00:00
"environment-secrets.age".publicKeys = allKeys;
}