about summary refs log tree commit diff
path: root/hosts/tahoe/secrets/secrets.nix
blob: 390f2b6bd9bc5f6a655cc167f95a9b91440887a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
let
  fcuny_aptos =
    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl";
  tahoe =
    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEq1IQRvj2jofCHOO6M28w2SRdgtHU06NJvwAwv/b69F";
  all = [ fcuny_aptos tahoe ];
in
{
  "wireguard_privatekey.age".publicKeys = all;

  "acme/credentials.age".publicKeys = all;
  "acme/gcp_service_account.json.age" = {
    publicKeys = all;
    owner = "acme";
  };

  # see https://buildkite.com/docs/agent/v3/tokens
  "buildkite/agent.age" = {
    publicKeys = all;
    owner = "buildkite-agent-builder-1";
    group = "buildkite-agents";
    mode = "0440";
  };

  "buildkite/graphql.age" = {
    publicKeys = all;
    owner = "buildkite-agent-builder-1";
    group = "buildkite-agents";
    mode = "0440";
  };

  # the owner is gerrit, but we also want the builders to access this
  # configuration.
  "gerrit/hooks.age" = {
    publicKeys = all;
    owner = "git";
    group = "buildkite-agents";
    mode = "0440";
  };

  "gerrit/secure-config.age" = {
    publicKeys = all;
    owner = "git";
    path = "/var/lib/gerrit/etc/secure.config";
  };

  "syncthing/key.age" = {
    publicKeys = all;
    owner = "fcuny";
  };

  "syncthing/cert.age" = {
    publicKeys = all;
    owner = "fcuny";
  };

  "unifi/unifi-poller.age".publicKeys = all;

  "restic/repo-systems.age".publicKeys = all;
  "rclone/config.ini.age".publicKeys = all;
  "rclone/gcs_service_account.json.age".publicKeys = all;
}