summaryrefslogtreecommitdiff
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modules/bookwyrm: manage.py wrapper needs env filestuebinm2024-02-151-3/+4
| | | | otherwise it just fails to start with an error
* modules/bookwyrm: use environmentFile for secretsstuebinm2024-02-151-8/+47
| | | | | | | | | | 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 ...
* modules/bookwyrm: whoops, that's not how the module system worksstuebinm2024-02-141-14/+25
|
* modules/bookwyrm: initstuebinm2024-02-141-0/+140
| | | | | | | | 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.
* initial jump to nixos 23.05stuebinm2023-05-291-2/+2
|
* add module for crs-tracker, for funstuebinm2023-04-011-0/+132
| | | | | | 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 …
* a glitchtip module, because why notstuebinm2023-03-221-0/+81
| | | | in case i ever think i need such a thing, i guess
* use flakes instead of niv & stuffstuebinm2022-01-092-59/+0
|
* Added Pleromastuebinm2021-03-081-2/+6
| | | | | | | | | 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.
* migrating configstuebinm2021-03-032-0/+55
This deploy logic is primarily based on hxchn's deploy lib [1], with some slight modifications to make it work with my setup. Everything seems to work fine for now. However, I am unsure about the usage of niv — the config doesn't seem to gain much from it, apart from (some) additional complexity. [1] https://gitlab.com/hexchen/nixfiles