yep, more dotfiles

server: add (back) archive-warrior

This reverts commit 88c6d4ad9fb63894a2810f50ac9d8e9399587ec4.

wiro.world 6f79a1c8 be28e248

verified
Changed files
+16 -1
nixos
profiles
+16 -1
nixos/profiles/server.nix
···
hbt-main-port = 3013;
hbt-banana-port = 3014;
+
warrior-port = 3015;
+
warrior-hostname = "warrior.wiro.world";
+
prometheus-port = 9001;
prometheus-node-exporter-port = 9002;
headscale-metrics-port = 9003;
···
'';
virtualHosts."banana.hypixel-bank-tracker.xyz".extraConfig = ''
reverse_proxy http://localhost:${toString hbt-banana-port}
+
'';
+
+
virtualHosts.${warrior-hostname}.extraConfig = ''
+
forward_auth localhost:${toString authelia-port} {
+
uri /api/authz/forward-auth
+
}
+
reverse_proxy http://localhost:${toString warrior-port}
'';
};
···
];
};
-
notifier.smtp = {
address = "smtp://smtp.resend.com:2587";
username = "resend";
···
port = hbt-banana-port;
environmentFile = config.age.secrets.hypixel-bank-tracker-banana.path;
+
};
+
+
virtualisation.oci-containers.containers.archive-warrior = {
+
image = "atdr.meo.ws/archiveteam/warrior-dockerfile";
+
ports = [ "127.0.0.1:${toString warrior-port}:8001" ];
+
pull = "newer";
};
};
}