aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/dav/davical.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-16 01:48:11 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-16 01:48:11 +0200
commit85f5ed68104de9edd8f8e532dc0c2de931e3ca1b (patch)
tree4a5da5f6d5e808db249f282a4743a1e56680aace /nixops/modules/websites/tools/dav/davical.nix
parentec2a5ffb986e9b21dff31e16d112aa9052a4bc5c (diff)
downloadNix-85f5ed68104de9edd8f8e532dc0c2de931e3ca1b.tar.gz
Nix-85f5ed68104de9edd8f8e532dc0c2de931e3ca1b.tar.zst
Nix-85f5ed68104de9edd8f8e532dc0c2de931e3ca1b.zip
Fix secret permissions
Diffstat (limited to 'nixops/modules/websites/tools/dav/davical.nix')
-rw-r--r--nixops/modules/websites/tools/dav/davical.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/websites/tools/dav/davical.nix b/nixops/modules/websites/tools/dav/davical.nix
index 4e464eb..32f5483 100644
--- a/nixops/modules/websites/tools/dav/davical.nix
+++ b/nixops/modules/websites/tools/dav/davical.nix
@@ -20,7 +20,7 @@ let
20 destDir = "/run/keys/webapps"; 20 destDir = "/run/keys/webapps";
21 user = apache.user; 21 user = apache.user;
22 group = apache.group; 22 group = apache.group;
23 permissions = "0700"; 23 permissions = "0400";
24 text = '' 24 text = ''
25 <?php 25 <?php
26 $c->pg_connect[] = "dbname=${env.postgresql.database} user=${env.postgresql.user} host=${env.postgresql.socket} password=${env.postgresql.password}"; 26 $c->pg_connect[] = "dbname=${env.postgresql.database} user=${env.postgresql.user} host=${env.postgresql.socket} password=${env.postgresql.password}";