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

  sops.secrets = {
    "wg/zw" = {
      owner = config.users.users.systemd-network.name;
    };
    "wg/dvb" = {
      owner = config.users.users.systemd-network.name;
    };
    "wg/mullvad" = {
      owner = config.users.users.systemd-network.name;
    };
    "wg/oxalab" = {
      owner = config.users.users.systemd-network.name;
    };
  };
}