aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-01-19 22:28:31 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-01-19 22:28:31 +0100
commitf0255dd5bd2b793741fa1f6f349b89219c9bd56a (patch)
tree0467e1d5551da79852f44f2cb0fa528edc5cf919 /modules
parentd60c4da16690cbaca1891c35bf9c460e1c817a0b (diff)
downloadNix-f0255dd5bd2b793741fa1f6f349b89219c9bd56a.tar.gz
Nix-f0255dd5bd2b793741fa1f6f349b89219c9bd56a.tar.zst
Nix-f0255dd5bd2b793741fa1f6f349b89219c9bd56a.zip
Configuration adjustments for shaarli and mastodon
Diffstat (limited to 'modules')
-rw-r--r--modules/private/websites/tools/tools/shaarli.nix2
-rw-r--r--modules/webapps/mastodon.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/private/websites/tools/tools/shaarli.nix b/modules/private/websites/tools/tools/shaarli.nix
index 24b4845..da8f734 100644
--- a/modules/private/websites/tools/tools/shaarli.nix
+++ b/modules/private/websites/tools/tools/shaarli.nix
@@ -60,6 +60,8 @@ in rec {
60 "php_value[session.name]" = "ShaarliPHPSESSID"; 60 "php_value[session.name]" = "ShaarliPHPSESSID";
61 "php_admin_value[open_basedir]" = "${basedir}:/tmp"; 61 "php_admin_value[open_basedir]" = "${basedir}:/tmp";
62 "php_admin_value[session.save_path]" = "${varDir}/phpSessions"; 62 "php_admin_value[session.save_path]" = "${varDir}/phpSessions";
63 "php_admin_value[upload_max_filesize]" = "200M";
64 "php_admin_value[post_max_size]" = "200M";
63 }; 65 };
64 }; 66 };
65} 67}
diff --git a/modules/webapps/mastodon.nix b/modules/webapps/mastodon.nix
index 2f5a8e3..df2dbb2 100644
--- a/modules/webapps/mastodon.nix
+++ b/modules/webapps/mastodon.nix
@@ -167,7 +167,7 @@ in
167 environment.BUNDLE_GEMFILE = "${cfg.workdir.gems.confFiles}/Gemfile"; 167 environment.BUNDLE_GEMFILE = "${cfg.workdir.gems.confFiles}/Gemfile";
168 environment.SOCKET = cfg.sockets.rails; 168 environment.SOCKET = cfg.sockets.rails;
169 169
170 path = [ cfg.workdir.gems cfg.workdir.gems.ruby pkgs.file ]; 170 path = [ cfg.workdir.gems cfg.workdir.gems.ruby pkgs.file pkgs.imagemagick ];
171 171
172 preStart = '' 172 preStart = ''
173 install -m 0755 -d ${cfg.dataDir}/tmp/cache 173 install -m 0755 -d ${cfg.dataDir}/tmp/cache