aboutsummaryrefslogtreecommitdiff
path: root/secrets.nix
blob: e8a737cb7d1b551a3cfe0f2f55aaa95c2308d421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
let
  inherit ((builtins.fromTOML (builtins.readFile ./hosts.toml)).hosts) mercury ganymede;
in {
  "modules/terminal/nixos/github-ssh-key.age".publicKeys = [mercury.host_pubkey ganymede.host_pubkey];

  "hosts/ganymede/secrets/caddy-env.age".publicKeys = [ganymede.host_pubkey];
  "hosts/ganymede/secrets/williams-psk.age".publicKeys = [ganymede.host_pubkey];
  "hosts/ganymede/secrets/collin-copyparty-password.age".publicKeys = [mercury.host_pubkey ganymede.host_pubkey];
  "hosts/ganymede/secrets/collin-forgejo-password.age".publicKeys = [mercury.host_pubkey ganymede.host_pubkey];

  "hosts/mercury/secrets/ts-key.age".publicKeys = [mercury.host_pubkey];
}