Infini-SERVER: remove nitter

This commit is contained in:
Infinidoge 2024-01-31 17:23:21 -05:00
parent b36919c762
commit 0026c2297a
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -1,7 +1,6 @@
{ config, pkgs, lib, private, ... }: { { config, pkgs, lib, private, ... }: {
imports = [ imports = [
private.nixosModules.minecraft-servers private.nixosModules.minecraft-servers
private.nixosModules.nitter
./hardware-configuration.nix ./hardware-configuration.nix
./filesystems.nix ./filesystems.nix
]; ];
@ -91,9 +90,7 @@
globalRedirect = "inx.moe"; globalRedirect = "inx.moe";
}; };
"nitter.inx.moe" = ssl // { "nitter.inx.moe" = ssl // {
locations."/" = { globalRedirect = "twitter.com";
proxyPass = "http://localhost:8000";
};
}; };
"thelounge.inx.moe" = ssl // { "thelounge.inx.moe" = ssl // {
locations."/" = { locations."/" = {
@ -103,24 +100,6 @@
}; };
}; };
nitter = rec {
enable = true;
server = {
title = "Nitter | inx.moe";
port = 8000;
hostname = "nitter.inx.moe";
};
openFirewall = true;
preferences = {
hideTweetStats = true;
hlsPlayback = true;
infiniteScroll = true;
proxyVideos = true;
replaceTwitter = server.hostname;
theme = "Black";
};
};
thelounge = { thelounge = {
enable = true; enable = true;
plugins = with pkgs.theLoungePlugins; [ plugins = with pkgs.theLoungePlugins; [