mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 13:06:35 +05:30
feat: add kasm workspaces
This commit is contained in:
@ -29,7 +29,7 @@
|
|||||||
../../modules/nixos/selfhosted/nextcloud.nix
|
../../modules/nixos/selfhosted/nextcloud.nix
|
||||||
../../modules/nixos/selfhosted/silver-bullet.nix
|
../../modules/nixos/selfhosted/silver-bullet.nix
|
||||||
../../modules/nixos/selfhosted/rustdesk-server.nix
|
../../modules/nixos/selfhosted/rustdesk-server.nix
|
||||||
../../modules/nixos/selfhosted/containers/cs2.nix
|
../../modules/nixos/selfhosted/kasmweb.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
tux.services.openssh.enable = true;
|
tux.services.openssh.enable = true;
|
||||||
|
24
modules/nixos/selfhosted/kasmweb.nix
Normal file
24
modules/nixos/selfhosted/kasmweb.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user