nixos/rl-2411: add services.forgejo.secrets

and the accompanying `services.forgejo.mailerPasswordFile` deprecation.
This commit is contained in:
emilylange 2024-06-05 01:03:10 +02:00
parent fd58d2299b
commit ac20219508
No known key found for this signature in database
GPG Key ID: 0AD773CE46FD0F87

View File

@ -18,6 +18,11 @@
nvimpager settings: user commands in `-c` and `--cmd` now override the
respective default settings because they are executed later.
- `services.forgejo.mailerPasswordFile` has been deprecated by the drop-in replacement `services.forgejo.secrets.mailer.PASSWD`,
which is part of the new free-form `services.forgejo.secrets` option.
`services.forgejo.secrets` is a small wrapper over systemd's `LoadCredential=`. It has the same structure (sections/keys) as
`services.forgejo.settings` but takes file paths that will be read before service startup instead of some plaintext value.
- The Invoiceplane module now only accepts the structured `settings` option.
`extraConfig` is now removed.