summaryrefslogtreecommitdiff
path: root/secrets/secrets.nix
blob: 958eda366b25f579c133eb07595f12f1c82fb127 (plain)
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
let
  toSecrets = import ./toSecrets.nix;

  owners = {
    getchoo = "age1zyqu6zkvl0rmlejhm5auzmtflfy4pa0fzwm0nzy737fqrymr7crsqrvnhs";
  };

  hosts = {
    glados = {
      owner = owners.getchoo;
      pubkey = "age1n7tyxx63wpgnmwkzn7dmkm62jxel840rk3ye3vsultrszsfrwuzsawdzhq";
      files = [
        "rootPassword.age"
        "sethPassword.age"
      ];
    };

    glados-wsl = {
      pubkey = "age16jps7cr3jtjjusf3p3yadcmnmmh2kzfyfcfpv2zs6hrmnlthhf2sr05jdn";
      owner = owners.getchoo;
      inherit (hosts.glados) files;
    };

    atlas = {
      pubkey = "age18eu3ya4ucd2yzdrpkpg7wrymrxewt8j3zj2p2rqgcjeruacp0dgqryp39z";
      owner = owners.getchoo;
      files = [
        "rootPassword.age"
        "userPassword.age"
        "miniflux.age"
        "tailscaleAuthKey.age"
        "cloudflaredCreds.age"
        "teawieBot.age"
      ];
    };
  };
in
  toSecrets hosts