diff --git a/nixos/hosts/gitea/configuration.nix b/nixos/hosts/gitea/configuration.nix index 5778860..6f9f14c 100644 --- a/nixos/hosts/gitea/configuration.nix +++ b/nixos/hosts/gitea/configuration.nix @@ -32,6 +32,8 @@ database.type = "postgres"; ssh.clonePort = 42; disableRegistration = true; + cookieSecure = true; + settings = { ui = { diff --git a/nixos/hosts/hedgedoc/configuration.nix b/nixos/hosts/hedgedoc/configuration.nix index f0135e4..903749b 100644 --- a/nixos/hosts/hedgedoc/configuration.nix +++ b/nixos/hosts/hedgedoc/configuration.nix @@ -57,8 +57,9 @@ in config.services.hedgedoc.configuration.domain "hedgedoc" ]; + allowAnonymous = false; allowEmailRegister = false; - allowAnonymousEdits = false; + allowAnonymousEdits = true; allowFreeURL = true; requireFreeURLAuthentication = true; imageUploadType = "minio"; @@ -76,10 +77,10 @@ in accessKey = "$MINIO_ACCESS_KEY"; secretKey = "$MINIO_SECRET_KEY"; }; - github = { - clientID = "$GITHUB_CLIENTID"; - clientSecret = "$GITHUB_CLIENTSECRET"; - }; + # github = { + # clientID = "$GITHUB_CLIENTID"; + # clientSecret = "$GITHUB_CLIENTSECRET"; + # }; }; }; }