setup agenix secrets

This commit is contained in:
♥ Minnie ♥ 2023-11-05 14:09:01 +00:00
parent 0ff453df0a
commit 8342bee2eb

16
secrets/secrets.nix Normal file
View file

@ -0,0 +1,16 @@
let
# Users
sabrina = {
viridian = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPn1X4oHniIkR1bEP/KFt70gmtA3tc8UTLd53P9xQzNe";
};
# Hosts
viridian = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINR3TagUNIDTEPkVVBl6Pot+6GocrQ5/2Dq72RRiQWqe";
users = [ sabrina.viridian ];
hosts = [ viridian ];
in
{
"traefik.age".publicKeys = users ++ hosts;
}