Kieran's opinionated (and probably slightly dumb) nix config
at main 16 lines 722 B view raw view rendered
1# knot-sync 2 3Mirrors Tangled knot repositories to GitHub on a cron schedule. 4 5This is a **custom module** — it does not use mkService. Runs as a systemd timer, not a long-running service. 6 7## Options 8 9| Option | Type | Default | Description | 10|--------|------|---------|-------------| 11| `enable` | bool | `false` | Enable knot-sync | 12| `repoDir` | string | `"/home/git/did:plc:..."` | Directory containing knot git repos | 13| `githubUsername` | string | `"taciturnaxolotl"` | GitHub username to mirror to | 14| `secretsFile` | path | — | Agenix secrets (must contain `GITHUB_TOKEN`) | 15| `logFile` | string | `"/home/git/knot-sync.log"` | Log file path | 16| `interval` | string | `"*/5 * * * *"` | Cron schedule for sync |