mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-06-02 15:48:46 +02:00
better up purge and mail secrets
This commit is contained in:
parent
48225f3c36
commit
f1f11eee2a
12 changed files with 101 additions and 46 deletions
hosts/falkenstein-1/modules/purge
|
@ -3,14 +3,14 @@ let
|
|||
domain = "purge.rfive.de";
|
||||
in
|
||||
{
|
||||
sops.secrets."purge/environment".owner = "purge";
|
||||
sops.secrets."purge/token".owner = "purge";
|
||||
services.purge = {
|
||||
enable = true;
|
||||
discord = {
|
||||
clientId = "941041925216157746";
|
||||
publicKey = "d2945f6130d9b4a8dda8c8bf52db5dee127a82f89c6b8782e84aa8f45f61d402";
|
||||
tokenFile = config.sops.secrets."purge/token".path;
|
||||
};
|
||||
environmentFile = config.sops.secrets."purge/environment".path;
|
||||
};
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
enableACME = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue