summaryrefslogtreecommitdiff
path: root/modules/bookwyrm.nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* all: jump to nixpkgs 24.05stuebinm2024-06-041-10/+10
| | | | | | | | | | | | this does a lot of things, most of which are maintenance: - sources update - adjust newly-renamed options - swap some packages that were removed / renamed - update nomsring to newer default ghc - remove the deprecated lib.mdDoc from modules/*.nix - disable the nixpkgs mollysocket module so my own keeps evaluating - bundle the package definition of hikari & wlroots 0.15, which nixpkgs has removed as unmaintained (in fairness, they are unmaintained)
* 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.