feat: add kasm workspaces

This commit is contained in:
tux
2025-02-24 11:01:24 +05:30
parent 923d7de4e6
commit 87da518f36
2 changed files with 25 additions and 1 deletions

View File

@ -29,7 +29,7 @@
../../modules/nixos/selfhosted/nextcloud.nix
../../modules/nixos/selfhosted/silver-bullet.nix
../../modules/nixos/selfhosted/rustdesk-server.nix
../../modules/nixos/selfhosted/containers/cs2.nix
../../modules/nixos/selfhosted/kasmweb.nix
];
tux.services.openssh.enable = true;

View File

@ -0,0 +1,24 @@
{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;
};
};
};
};
};
};
}