aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
Diffstat (limited to 'nixops')
-rw-r--r--nixops/eldiron.nix4
-rw-r--r--nixops/modules/websites/tools/mastodon/mastodon.nix2
2 files changed, 6 insertions, 0 deletions
diff --git a/nixops/eldiron.nix b/nixops/eldiron.nix
index a4b3f73..2376e54 100644
--- a/nixops/eldiron.nix
+++ b/nixops/eldiron.nix
@@ -36,6 +36,10 @@
36 services.myWebsites.tools.enable = true; 36 services.myWebsites.tools.enable = true;
37 services.pure-ftpd.enable = true; 37 services.pure-ftpd.enable = true;
38 38
39 services.journald.extraConfig = ''
40 MaxLevelStore="warning"
41 MaxRetentionSec="1year"
42 '';
39 networking = { 43 networking = {
40 firewall = { 44 firewall = {
41 enable = true; 45 enable = true;
diff --git a/nixops/modules/websites/tools/mastodon/mastodon.nix b/nixops/modules/websites/tools/mastodon/mastodon.nix
index ae2a3f6..5f0104c 100644
--- a/nixops/modules/websites/tools/mastodon/mastodon.nix
+++ b/nixops/modules/websites/tools/mastodon/mastodon.nix
@@ -90,6 +90,8 @@ let
90 90
91 STREAMING_CLUSTER_NUM=1 91 STREAMING_CLUSTER_NUM=1
92 92
93 RAILS_LOG_LEVEL=warn
94
93 # LDAP authentication (optional) 95 # LDAP authentication (optional)
94 LDAP_ENABLED=true 96 LDAP_ENABLED=true
95 LDAP_HOST=ldap.immae.eu 97 LDAP_HOST=ldap.immae.eu