mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-06 13:26:34 +05:30
25 lines
452 B
Nix
25 lines
452 B
Nix
{lib, ...}: {
|
|
services = {
|
|
kasmweb = {
|
|
enable = true;
|
|
listenPort = 8843;
|
|
};
|
|
|
|
nginx = {
|
|
enable = lib.mkForce true;
|
|
virtualHosts = {
|
|
"kasm.tux.rs" = {
|
|
forceSSL = true;
|
|
useACMEHost = "tux.rs";
|
|
locations = {
|
|
"/" = {
|
|
proxyPass = "https://127.0.0.1:8843";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|