summary refs log tree commit diff stats
path: root/secrets.nix
blob: 10608f4ad640f8b5eb3cd317906223f3c2e3d3e4 (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
let
  soispha = "age1mshh4ynzhhzhff25tqwkg4j054g3xwrfznh98ycchludj9wjj48qn2uffn";
  sils = "age1vuhaey7kd9l76y6f9weeqmde3s4kjw38869ju6u3027yece2r3rqssjxst";

  server2HostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL1TUFoCTplkqTVbXQ6qDCyeo2h8+C0vjrIlKu6vmq5f";
  server3HostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP3s4FjGx7LEVf/GE3WeCl8TmCtPt8gW1J0mp0fUJBNm";

  server2 = [
    soispha
    sils
    server2HostKey
  ];

  server3 = [
    soispha
    sils
    server3HostKey
  ];
in {
  "./modules/by-name/ma/matrix/passwd.age".publicKeys = server3;

  "./hosts/by-name/server2/secrets/backuppass.age".publicKeys = server2;
  "./hosts/by-name/server2/secrets/backupssh.age".publicKeys = server2;
  "./hosts/by-name/server2/secrets/etesync/secret_file.age".publicKeys = server2;

  "./hosts/by-name/server3/secrets/backuppass.age".publicKeys = server3;
  "./hosts/by-name/server3/secrets/backupssh.age".publicKeys = server3;
  "./hosts/by-name/server3/secrets/mastodon/mail.age".publicKeys = server3;
  "./hosts/by-name/server3/secrets/miniflux/secrets/admin.age".publicKeys = server3;
  "./hosts/by-name/server3/secrets/peertube/general.age".publicKeys = server3;
  "./hosts/by-name/server3/secrets/peertube/smtp.age".publicKeys = server3;
}