aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-11 00:18:01 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-11 00:18:01 +0100
commit46228a293a4463a6384be301f56b78c5aeeb1e01 (patch)
treeb261ed19463ff86e0a4cdab431627480ac71c5dc /nixops
parent52c3e9e710eb26d5a7b8edca154f8e99c1deaec3 (diff)
downloadNix-46228a293a4463a6384be301f56b78c5aeeb1e01.tar.gz
Nix-46228a293a4463a6384be301f56b78c5aeeb1e01.tar.zst
Nix-46228a293a4463a6384be301f56b78c5aeeb1e01.zip
Adjust journald configuration and limit some verbose apps
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