summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-20 00:08:31 +0100
committerRory& <root@rory.gay>2025-02-20 00:08:31 +0100
commit95d6d0883cb7feb61bfb7d3ac123c3d3bed8a556 (patch)
tree53f8987e198df8ffd1d106e9d6c6a268a902350f /host
parentFix flake (diff)
downloadRory-Open-Architecture-95d6d0883cb7feb61bfb7d3ac123c3d3bed8a556.tar.xz
Re-add cgit
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-ovh/configuration.nix1
-rw-r--r--host/Rory-ovh/services/cgit.nix4
-rwxr-xr-xhost/Rory-ovh/services/matrix/synapse/synapse-main.nix2
3 files changed, 3 insertions, 4 deletions
diff --git a/host/Rory-ovh/configuration.nix b/host/Rory-ovh/configuration.nix

index cc2ea4e..72bc2ec 100755 --- a/host/Rory-ovh/configuration.nix +++ b/host/Rory-ovh/configuration.nix
@@ -20,6 +20,7 @@ ./services/prometheus.nix ./services/nginx/nginx.nix + ./services/cgit.nix ./services/postgres.nix ]; diff --git a/host/Rory-ovh/services/cgit.nix b/host/Rory-ovh/services/cgit.nix
index fb762d1..9c18aca 100644 --- a/host/Rory-ovh/services/cgit.nix +++ b/host/Rory-ovh/services/cgit.nix
@@ -5,7 +5,7 @@ let enable = true; nginx.virtualHost = "cgit.rory.gay"; package = pkgs.cgit-pink; - scanPath = "/data/nginx/html_git"; + scanPath = "/data/git"; settings = { css = "/cgit.css"; logo = "/cgit.png"; @@ -46,7 +46,7 @@ in services.cgit."main" = base_cgit_config; services.cgit."ocp" = lib.attrsets.recursiveUpdate base_cgit_config { - scanPath = "/data/nginx/html_git/.ocp"; + scanPath = "/data/git/.ocp"; nginx.location = "/.ocp/"; settings.clone-url = ( lib.concatStringsSep " " [ diff --git a/host/Rory-ovh/services/matrix/synapse/synapse-main.nix b/host/Rory-ovh/services/matrix/synapse/synapse-main.nix
index 02456df..0b75412 100755 --- a/host/Rory-ovh/services/matrix/synapse/synapse-main.nix +++ b/host/Rory-ovh/services/matrix/synapse/synapse-main.nix
@@ -3,8 +3,6 @@ { # Worker plumbing examples: https://github.com/element-hq/synapse/blob/master/docker/configure_workers_and_start.py # Documentation: https://github.com/element-hq/synapse/blob/develop/docs/workers.md - imports = [ ./workers/module.nix ]; - services.matrix-synapse = { enable = true; withJemalloc = true;