mirror of
https://github.com/thegeneralist01/config.git
synced 2026-12-04 18:56:56 +01:00
14 lines
564 B
Nix
14 lines
564 B
Nix
{ config, ... }:
|
|
{
|
|
# Crosspost worker: publishes queued X/LinkedIn/Instagram posts for crosspost-app (Cloudflare).
|
|
# Outbound HTTPS only. Module source: ~/personal/crosspost (flake input `crosspost`).
|
|
age.secrets.crosspostApiToken.file = ./api-token.age;
|
|
age.secrets.crosspostWorkerKey.file = ./worker-key.age;
|
|
|
|
services.crosspost = {
|
|
enable = true;
|
|
appUrl = "https://crosspost-app.thegeneralist01.workers.dev";
|
|
apiTokenFile = config.age.secrets.crosspostApiToken.path;
|
|
privateKeyFile = config.age.secrets.crosspostWorkerKey.path;
|
|
};
|
|
}
|