1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-12-04 18:56:56 +01:00

thegeneralist: enable crosspost worker (services.crosspost)

This commit is contained in:
TheGeneralist 2026-10-25 16:44:36 +01:00
parent 21703da739
commit f66077d763
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
7 changed files with 69 additions and 7 deletions

View file

@ -17,6 +17,7 @@
./cache
./archive
./forgejo
./crosspost
];
age.secrets.readlaterBotToken = {

View file

@ -0,0 +1,5 @@
age-encryption.org/v1
-> ssh-ed25519 pp9qdQ Dye18WG21VQ551B9FHTQ4h3LuMkHEtvhvdJlM1ITxF8
QBg7sp1mGH/1MgXojf8YSQK0eWY+ZEllDiKsV9fvnRk
--- odTSmOaF35PJqMI9X2UbfXQr2E4r/wizVmEeKUwXDZg
$f£Û&qA]$æ"×Òá±Ûÿ¬¢"ùñÊ®á Ë´Öo³2ß/SÎë^T¯¶©¹`7zh .E5ŽšBç)‹ÎçyÀ¿˜üV„ã(

View file

@ -0,0 +1,14 @@
{ 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;
};
}

Binary file not shown.