summaryrefslogtreecommitdiff
path: root/nix/modules/home/vps_secrets.nix
blob: df75a39582234d6c980a1216cceed0f53fd0b4dd (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
39
40
41
42
43
{ lib, config, ... }:
{
  config = lib.mkIf (!config.monorepo.profiles.graphics.enable) {
    sops.secrets = {
      znc = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/znc";
      };
      znc_password_salt = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/znc_password_salt";
      };
      znc_password_hash = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/znc_password_hash";
      };
      matrix_bridge = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/matrix_bridge";
      };
      coturn_secret = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/coturn_secret";
      };
      livekit_secret = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/livekit_secret";
      };
      livekit = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/livekit";
      };
      conduit_secrets = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/conduit_secrets";
      };
      mautrix_env = {
        format = "yaml";
        path = "${config.sops.defaultsymlinkpath}/mautrix_env";
      };
    };
  };
}