Izorkin
47d3e955fc
nixos/mastodon/sandbox: add @privileged and @raw-io to SystemCallFilter
2021-04-24 19:12:10 +02:00
Izorkin
f3a032dee5
nixos/mastodon: enable sandbox mode
2021-03-24 17:28:50 +01:00
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?
2021-02-17 15:16:14 +01:00
Izorkin
96f0c2c191
mastodon, nixos/mastodon: use the same nodejs package in package and module
2021-02-16 17:57:31 +01:00
Izorkin
e3a7270e3d
nixos/mastodon: fix mastodon-init-db script
2021-02-15 11:43:03 +01:00
Izorkin
4255954d97
nixos/mastodon: optimize permissions
2021-02-15 11:43:03 +01:00
Izorkin
424e7b0f5d
nixos/mastodon: use unix socket to default
2021-02-15 11:43:03 +01:00
Izorkin
f1adea1a94
nixos/mastodon: add option trustedProxy
2021-02-15 11:43:03 +01:00
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.
2021-02-12 20:31:44 +01:00
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>
2021-02-12 15:37:15 +00:00