Remove old cruff, server is 23.11 now

This commit is contained in:
Natsu Kagami 2023-12-01 23:19:34 +01:00
parent 2d726f8c04
commit 44305d6805
Signed by: nki
GPG key ID: 55A032EB38B49ADB
8 changed files with 40 additions and 904 deletions

View file

@ -10,9 +10,7 @@
../modules/cloud/bitwarden
../modules/cloud/mail
../modules/cloud/conduit
../modules/cloud/writefreely
../modules/cloud/gotosocial
../modules/cloud/outline.nix
./headscale.nix
./gitea.nix
@ -191,13 +189,12 @@
sops.secrets.minio-secret-key = { owner = "root"; mode = "0444"; };
sops.secrets.authentik-oidc-client-secret = { owner = "outline"; };
sops.secrets."outline/smtp-password" = { owner = "outline"; };
cloud.services.outline = {
services.outline = {
enable = true;
package = pkgs.unstable.outline.overrideAttrs (attrs: {
package = pkgs.outline.overrideAttrs (attrs: {
patches = if builtins.hasAttr "patches" attrs then attrs.patches else [ ] ++ [ ../modules/cloud/outline/dtth-wiki.patch ];
});
databaseUrl = "postgres://outline:outline@localhost/outline?sslmode=disable";
sequelizeArguments = "--env=production-ssl-disabled";
redisUrl = "local";
publicUrl = "https://wiki.dtth.ch";
port = 18729;

View file

@ -29,6 +29,7 @@ in
enable = true;
withJemalloc = true;
dataDir = "${config.fileSystems.data.mountPoint}/matrix-synapse-dtth";
extras = [ "systemd" "url-preview" "oidc" "postgres" ];
settings = {
server_name = "dtth.ch";
enable_registration = false;