-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecrets.nix
46 lines (31 loc) · 1.64 KB
/
secrets.nix
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
let
userKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIh+tAKie4OOkzxIwprEcQHiaL4ifkJKcSeN3bytV1rZ [email protected]" # desktop
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPiBYp+pjF/3Q6deVfH4uMqYg6y9YbK29qZ6kNyWLxil [email protected]" # laptop
];
systemKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII8+tB44MHGTih2DlHeNpnEYE2ah6/OS6lwcJQTGwrae root@nixos";
allKeys = userKeys ++ [systemKey];
in {
"secrets/cloudflare-api-key.age".publicKeys = allKeys;
"secrets/nextcloud-admin.age".publicKeys = allKeys;
"secrets/iws-token.age".publicKeys = allKeys;
"secrets/iws-rs.age".publicKeys = allKeys;
"secrets/mongo-root.age".publicKeys = allKeys;
"secrets/ris-tokens.age".publicKeys = allKeys;
"secrets/matrix-secret.age".publicKeys = allKeys;
"secrets/syncv3_secret.age".publicKeys = allKeys;
"secrets/authentik-redis-password.age".publicKeys = allKeys;
"secrets/authentik-secrets.age".publicKeys = allKeys;
"secrets/grafana-oauth-secret.age".publicKeys = allKeys;
"secrets/fivem-secrets.age".publicKeys = allKeys;
"secrets/emmalink-test-password.age".publicKeys = allKeys;
"secrets/emmalink-secrets.age".publicKeys = allKeys;
"secrets/etog-modpack-secrets.age".publicKeys = allKeys;
"secrets/wireguard/river-private.age".publicKeys = allKeys;
"secrets/wireguard/fritz-private.age".publicKeys = allKeys;
"secrets/wireguard/dn42/peer1-private.age".publicKeys = allKeys;
"secrets/wireguard/dn42/peer2-private.age".publicKeys = allKeys;
"secrets/tailscale/tailscale-auth-key.age".publicKeys = allKeys;
"secrets/paperless-env.age".publicKeys = allKeys;
"secrets/bak-kk/links-secrets.age".publicKeys = allKeys;
}