mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-10 14:30:54 +02:00
agenix: migrate falkenstein
This commit is contained in:
parent
3c5095f144
commit
dcaa017e5d
13 changed files with 48 additions and 63 deletions
|
@ -3,13 +3,15 @@ let
|
|||
domain = "purge.${config.networking.domain}";
|
||||
in
|
||||
{
|
||||
sops.secrets."purge/token" = { };
|
||||
age.secrets.purge = {
|
||||
file = ../../../../secrets/falkenstein/purge.age;
|
||||
};
|
||||
services.purge = {
|
||||
enable = true;
|
||||
discord = {
|
||||
clientId = "941041925216157746";
|
||||
publicKey = "d2945f6130d9b4a8dda8c8bf52db5dee127a82f89c6b8782e84aa8f45f61d402";
|
||||
tokenFile = config.sops.secrets."purge/token".path;
|
||||
tokenFile = config.age.secrets.purge.path;
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue