summaryrefslogtreecommitdiff
path: root/hosts/cloud/secrets.nix
blob: e1d492f08719ac8cca78bebc24a1b197ef6152b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, ... }:
{
  sops.defaultSopsFile = ../../secrets/cloud/secrets.yaml;
  sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];

  sops.secrets = {
    "wg/0xa-mgmt" = {
      owner = config.users.users.systemd-network.name;
    };
    "wg/0xa-proxy" = {
      owner = config.users.users.systemd-network.name;
    };
  };
}