server: do stuff again

This commit is contained in:
2025-12-21 23:31:15 +02:00
parent 3d698f8631
commit 9d1e782753
3 changed files with 79 additions and 6 deletions

View File

@@ -12,7 +12,9 @@
./modules/tangled.nix
../../modules/force.nix
./modules/gitea.nix
./modules/spacebar.nix
# DO NOT ENABLE SPACEBAR YET
# ./modules/spacebar.nix
];
# gcc. shit breaks. wtf
@@ -84,6 +86,7 @@
443
3000
3001
4067
8080
25565
];
@@ -92,6 +95,7 @@
443
3000
3001
4067
8080
25565
];

View File

@@ -13,5 +13,19 @@
enable = true;
package = inputs.spacebar.packages.${pkgs.stdenv.hostPlatform.system}.default;
extraEnvironment.PORT = 4067;
settings = {
api = {
endpointPublic = "https://chat.ocbwoy3.dev/api/v9";
endpointPrivate = "http://127.0.0.1:4067/api/v9";
};
cdn = {
endpointPublic = "https://chat.ocbwoy3.dev/";
endpointPrivate = "http://127.0.0.1:4067/";
};
gateway = {
endpointPublic = "wss://chat.ocbwoy3.dev/";
endpointPrivate = "ws://127.0.0.1:4067/";
};
};
};
}