| Commit message (Collapse) | Author | Files | Lines |
|
with thanks to networkException, who wrote the initial nix package.
|
|
otherwise it just fails to start with an error
|
|
this allows setting options via an environment file that is passed to
the systemd units, in addition to the ones set during build time of the
package.
For now this is tailored to SECRET_KEY, but it may be useful for other
settings as well (e.g. EMAIL_HOST_PASSWORD), and I'm not sure if it
takes priority over the build-time settings ...
|
|
|
|
this should be mostly usable for actual deployments. Only thing that's
really still annoying is having to set the SECRET_KEY via Nix, since
not having set it makes the package fail to build. But it doesn't
actually end up in the derivation, so changing it afterwards should be
fine; I've just not tested that yet.
|
|
|
|
please no one like, actually use this. unless you volunteer to at least
add a script to run database migrations, since currently these need to
be run by hand …
|
|
in case i ever think i need such a thing, i guess
|
|
|
|
This pleroma config should be able to set itself up without any
manual intervention (modulo the secrets file, which is almost empty).
Annoyingly, the pleroma nixpkg is built from the pipeline artifacts
of the pleroma gitlab and does not have support for pleroma's ssh/bbs
mode.
|