Jelle Besseling
0f69a517a4
nixos/mastodon: use redis.servers
2 years ago
Kerstin Humm
f44b12fb52
mastodon: use correct GitHub Url
...
The tootsuite organization was renamed to mastodon ages ago.
2 years ago
Kerstin Humm
23a1971a4e
nixos/mastodon: preload libjemalloc.so
...
Co-authored-by: Izorkin <izorkin@elven.pw>
2 years ago
Jelle Besseling
29366071a4
nixos/mastodon: add RAILS_ROOT to mastodon-env
2 years ago
Izorkin
d1a8806e39
nixos/mastodon: allow '@resources' filter to mastodon-web service
3 years ago
Izorkin
a71576b07b
nixos/mastodon/streaming: add '@memlock' SystemCallFilter
3 years ago
Izorkin
91e510ae22
nixos/mastodon: add '@ipc' SystemCallFilter
3 years ago
Izorkin
700ea62f54
nixos/mastodon: remove duplicates SystemCallFilters
3 years ago
Izorkin
943f15d4b7
nixos/mastodon: add new sandboxing options
3 years ago
Izorkin
1d948428c8
nixos/mastodon: fix send e-mail notifications
3 years ago
Naïm Favier
2ddc335e6f
nixos/doc: clean up defaults and examples
3 years ago
embr
023239912c
nixos/mastodon: Add configurable web- and streaming concurrency
...
Might as well do this while I'm at it.
3 years ago
embr
8c1e6a8598
nixos/mastodon: Fix sidekiq's DB_POOL, add configurable concurrency
...
The `services.mastodon` module currently hardcodes sidekiq's concurrency
to 25, but doesn't set a DB pool size, which defaults to 5 or the number
of configured web threads.
(This behaviour is very strange, and arguably a mastodon bug.)
This also makes sidekiq's concurrency configurable, because 25 is a tad
high for the hardware I'm running it on.
3 years ago
Kerstin Humm
224df6940f
nixos/mastodon: use rails command instead of rake
...
Co-Authored-By: Izorkin <izorkin@elven.pw>
3 years ago
Izorkin
8723d226b4
nixos/mastodon: update SystemCallFilters
3 years ago
Izorkin
47d3e955fc
nixos/mastodon/sandbox: add @privileged and @raw-io to SystemCallFilter
3 years ago
Izorkin
f3a032dee5
nixos/mastodon: enable sandbox mode
3 years ago
Justin Humm
40f60919ab
nixos/mastodon: fix group membership for nginx
...
4255954d97
set the StateDirectory to 0750,
but nginx wasn't in the Mastodon group. This commit also deletes a line,
that probably was intended to serve this purpose, but makes no sense.
Why should the Mastodon user be added as an extraGroup to the nginx
user?
3 years ago
Izorkin
96f0c2c191
mastodon, nixos/mastodon: use the same nodejs package in package and module
3 years ago
Izorkin
e3a7270e3d
nixos/mastodon: fix mastodon-init-db script
3 years ago
Izorkin
4255954d97
nixos/mastodon: optimize permissions
3 years ago
Izorkin
424e7b0f5d
nixos/mastodon: use unix socket to default
3 years ago
Izorkin
f1adea1a94
nixos/mastodon: add option trustedProxy
3 years ago
erictapen
b2dbb4f50e
nixos/mastodon: set environment for mastodon-init-dirs ( #112917 )
...
mastodon-init-dirs should have the same environment as the other
services, as it also calls rake. Especially RAILS_ENV was missing.
3 years ago
Milan Pässler
4d6bfa473a
nixos/mastodon: init
...
Co-authored-by: Happy River <happyriver93@runbox.com>
Co-authored-by: ash lea <ashkitten@users.noreply.github.com>
Co-authored-by: Justin Humm <justin.humm@posteo.de>
3 years ago