From 2ab01629577c6eb31b2b3ff2cf120d217a6768fe Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 25 Apr 2026 21:16:15 +0000 Subject: server updates --- host/Rory-ovh/configuration.nix | 4 ++-- host/Rory-ovh/services/containers/spacebar/services/spacebar.nix | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'host') diff --git a/host/Rory-ovh/configuration.nix b/host/Rory-ovh/configuration.nix index 0ea717d..0d7ef0e 100755 --- a/host/Rory-ovh/configuration.nix +++ b/host/Rory-ovh/configuration.nix @@ -27,9 +27,9 @@ ./services/matrix/ooye.nix ./services/email/root.nix ./services/drasl.nix - ./services/prosody.nix + #./services/prosody.nix #./services/wireguard/wireguard.nix - ../../modules/software-templates/devenv/dotnet.nix + #../../modules/software-templates/devenv/dotnet.nix ]; users.groups.ocp = { }; diff --git a/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix b/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix index ec98d4b..228bf69 100644 --- a/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix +++ b/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix @@ -1,7 +1,7 @@ { spacebar, lib, ... }: let - sb = import "${spacebar}/nix/modules/default/lib.nix"; + sb = import "${spacebar}/nix/lib/mkEndpoint.nix"; in { imports = [ spacebar.nixosModules.default ]; @@ -179,6 +179,11 @@ in enableAbuseIpDb = true; enableIpData = false; # 1500req/d, needed by gateway }; + embeds = { + youtube = { + userAgent = "Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)"; + }; + }; }; extraEnvironment = { DATABASE = "postgres://spacebar:spacebar@192.168.100.1/spacebar"; -- cgit 1.5.1