about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/pretalx.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-05-09pretalx: adopt and set up code ownershipMartin Weinelt1-1/+1
2024-05-09nixos/pretalx: set up hardeningMartin Weinelt1-0/+35
2024-05-09nixos/pretalx: fix state directory modeMartin Weinelt1-5/+7
The state directory contains static files that need to be accessible by a webserver, but homeMode defaults to 0750 and switching the generation will always force the homeMode, thereby breaking access to the assets. Instead, fully rely on systemd to provide the StateDirectory with the correct mode.
2024-04-21Merge pull request #295261 from SuperSandro2000/pretalx-mediaSandro1-4/+4
nixos/pretalx: fix /media/ nginx location block
2024-04-13nixos: remove all uses of lib.mdDocstuebinm1-20/+20
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2024-03-12nixos/pretalx: fix /media/ nginx location blockSandro Jäckel1-4/+4
Fix the alias for displaying media. Also the more_set_headers for Content-Disposition was invalid and broke browsers. While I was at it, I also quoted the other more_set_headers directives.
2024-01-30nixos/pretalx: initMartin Weinelt1-0/+415