aboutsummaryrefslogtreecommitdiff
path: root/secrets.nix
blob: f53d1af99343adc6f6c9bb1dfb99bdbc5f59659b (plain)
1
2
3
4
5
6
7
8
9
10
11
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];

  "collin-copyparty-password.age".publicKeys = [mercury.host_pubkey ganymede.host_pubkey];
  "collin-forgejo-password.age".publicKeys = [mercury.host_pubkey ganymede.host_pubkey];
}