summaryrefslogtreecommitdiff
path: root/modules/server/sops.nix
blob: 1c07abcad30a8a77f3c0d96d3fcbf51882ad2a3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, self, ... }:
{
  sops = {
    defaultSopsFile = "${self}/secrets/${config.networking.hostName}.yaml";

    secrets = {
      "ghcr/user" = { };
      "ghcr/password" = { };
      tailscale_authentication_key = { };
      finnhub_token = { };
      caddy_environment_file = { };
      harmonia = { };

      fuwnme_onion_secret_key = {
        format = "binary";
        sopsFile = "${self}/secrets/fuwnme_hs_ed25519_secret_key.bin";
      };
    };
  };
}