aboutsummaryrefslogtreecommitdiff
path: root/secrets.nix
blob: d766bc780f603ca9e87b447eb614451040f7a93c (plain)
1
2
3
4
5
6
7
8
let
  inherit ((builtins.fromTOML (builtins.readFile ./hosts.toml)).hosts) mercury ganymede jupiter;
in {
  "caddy-env.age".publicKeys = [ganymede.host_pubkey];
  "tsnsrv-authkey.age".publicKeys = [ganymede.host_pubkey mercury.host_pubkey];
  "williams-psk.age".publicKeys = [ganymede.host_pubkey];
  "github-ssh-key.age".publicKeys = [mercury.host_pubkey jupiter.host_pubkey];
}