chore: remove gakuen-cosplay input and its services

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-03-21 14:50:30 -03:00
parent f7c1959973
commit 7b2323c5a5
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
5 changed files with 11 additions and 107 deletions

View file

@ -2,7 +2,6 @@
{
imports = [
./gakuen-cosplay-api.nix
./hydractify-bot.nix
./openttd.nix
./terraria.nix

View file

@ -1,16 +0,0 @@
{ gakuen-cosplay, pkgs, ... }:
{
systemd.user.services.gakuen-cosplay-api = {
Install.WantedBy = [ "default.target" ];
Unit.Description = "Gakuen Cosplay API";
Service = {
ExecStart = "${gakuen-cosplay.packages.${pkgs.system}.backend}/bin/animegakuen-cosplay-backend";
Restart = "on-failure";
Type = "simple";
WorkingDirectory = "/srv/gakuen_api";
};
};
}

View file

@ -42,16 +42,5 @@
virtualHosts."shoko.thewizard.link".extraConfig = ''
reverse_proxy 127.0.0.1:8111
'';
virtualHosts."api.cosplay.thewizard.link".extraConfig = ''
reverse_proxy 127.0.0.1:3000
'';
virtualHosts."cosplay.thewizard.link".extraConfig = ''
root * /srv/cosplay
encode
try_files {path} /index.html
file_server
'';
};
}