summaryrefslogtreecommitdiff
path: root/nix/modules/home/personal_secrets.nix
blob: 9013de111dc6c462b1a3bc326c300760376b9692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, config, ... }:
{
  config = lib.mkIf config.monorepo.profiles.graphics.enable {
    sops.secrets = {
      mail = {
        format = "yaml";
        path = "${config.sops.defaultSymlinkPath}/mail";
      };
      cloudflare-dns = {
        format = "yaml";
        path = "${config.sops.defaultSymlinkPath}/cloudflare-dns";
      };
      digikey = {
        format = "yaml";
        path = "${config.sops.defaultSymlinkPath}/digikey";
      };
      dn42 = {
        format = "yaml";
        path = "${config.sops.defaultSymlinkPath}/dn42";
      };
    };
  };
}