feat: transfer wowmine to neuro

This commit is contained in:
2026-11-20 10:52:59 +00:00
parent f69752dcc0
commit 53d4ecc2bf
66 changed files with 1319 additions and 425 deletions
+1 -37
View File
@@ -71,6 +71,7 @@ in {
self.nixosModules.hectic
inputs.sops-nix.nixosModules.sops
./minecraft
./wowmine-web.nix
./hardware.nix
];
@@ -132,40 +133,6 @@ in {
# admins = [ "yukkop@accord.tube" ];
#};
# Static landing page for bfs.band on :80 and :443 (no HTTP->HTTPS redirect).
security.acme = {
acceptTerms = true;
defaults.email = "security@bfs.band";
};
services.nginx = {
enable = false;
virtualHosts."bfs.band" = let
site = pkgs.runCommand "bfs-band-site" {} ''
mkdir -p $out
cat > $out/index.html <<'EOF'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>bfs.band</title>
</head>
<body>
<h1>bfs.band</h1>
<p>Coming soon.</p>
</body>
</html>
EOF
'';
in {
serverAliases = [ "www.bfs.band" ];
enableACME = true;
addSSL = true; # serve on both :80 and :443, no forced redirect
forceSSL = false;
root = "${site}";
};
};
services.ollama = {
enable = true;
host = "127.0.0.1";
@@ -210,9 +177,6 @@ in {
};
firewall = {
enable = true;
allowedTCPPorts = [
80 443 # HTTP, HTTPS
];
allowedUDPPorts = [ 9 ]; # Wake on LAN
};
};