nixos-config/secrets/hopper/default.nix
2024-04-12 10:41:35 +02:00

47 lines
967 B
Nix

{
sops.secrets = {
wireguard = {
format = "binary";
sopsFile = ./wireguard;
};
wg-private = {
key = "PrivateKey";
sopsFile = ./wireguard.yaml;
group = "systemd-network";
mode = "0640";
};
wg-preshared = {
key = "PresharedKey";
sopsFile = ./wireguard.yaml;
group = "systemd-network";
mode = "0640";
};
serverenv = {
format = "binary";
sopsFile = ./serverenv;
};
code-server = {
format = "binary";
sopsFile = ./code-server;
};
slskd = {
format = "binary";
sopsFile = ./slskd;
};
cloudflare = {
format = "binary";
sopsFile = ./cloudflare;
};
jackett = {
format = "binary";
sopsFile = ./jackett;
restartUnits = ["podman-qbittorrent.service"];
};
betanin = {
format = "binary";
sopsFile = ./betanin;
restartUnits = ["podman-betanin.service"];
};
};
}