Commit graph

17 commits

Author SHA1 Message Date
Andrey Golovizin
02df2ff862 Migrate to flakes 2021-02-06 13:57:51 +01:00
Andrey Golovizin
3b771e89d3 Exclude dotfiles from backups 2020-03-11 16:03:53 +01:00
Andrey Golovizin
4171e699b4 Add borgbackup support 2020-03-11 15:40:05 +01:00
Andrey Golovizin
2eddcca425 Harden the systemd service even more 2020-03-10 23:31:51 +01:00
Andrey Golovizin
43f9ae1311 Harden the systemd service 2020-03-10 22:51:21 +01:00
Andrey Golovizin
2ffb5c2450 module.nix: do not pollute system packages 2020-03-10 22:04:40 +01:00
Andrey Golovizin
a5aa4fce34 Enable compression for static files and media 2020-03-10 19:56:13 +01:00
Andrey Golovizin
945ae8563b Serve (missing) favicon.ico with nginx 2020-03-10 18:06:47 +01:00
Andrey Golovizin
c2577dc1e1 Serve media with nginx 2020-03-10 17:28:04 +01:00
Andrey Golovizin
b6957198c1 Fix socket permissions 2020-03-10 16:51:16 +01:00
Andrey Golovizin
b9a2425d99 Remote the extra slash from the socket path 2020-03-10 16:42:20 +01:00
Andrey Golovizin
1429212c4a Move site hostnames into options 2020-03-10 16:41:59 +01:00
Andrey Golovizin
00decb5f92 Use systemd socket activation 2020-03-10 16:18:48 +01:00
Andrey Golovizin
ecb9d23d4c Include nginx config in the NixOS service
Static files are now served with nginx.
2020-03-10 15:50:15 +01:00
Andrey Golovizin
59f2add67f Switch from uvicorn to gunicorn 2020-03-09 20:32:08 +01:00
Andrey Golovizin
2fcd163943 NixOS: properly create the state dir 2020-03-08 20:51:58 +01:00
Andrey Golovizin
284c713f5f Add NixOS module 2020-03-08 20:08:21 +01:00