about summary refs log tree commit diff
path: root/nix/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts')
-rw-r--r--nix/hosts/corrino/www/md.emile.space.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/md.emile.space.nix b/nix/hosts/corrino/www/md.emile.space.nix
index 29ddc67..2fb2ee4 100644
--- a/nix/hosts/corrino/www/md.emile.space.nix
+++ b/nix/hosts/corrino/www/md.emile.space.nix
@@ -76,6 +76,11 @@ in {
 			# Only applied if domain is set.
 			protocolUseSSL = true;
 
+			# don't allow unauthenticated people to just write somewhere
+			allowAnonymous = false;
+
+			defaultPermission = "private";
+
 			db = {
 			  dialect = "sqlite";
 			  storage = "/var/lib/hedgedoc/db.sqlite";