2024-06-13 15:47:36 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
sops.secrets.guacamoleUsers.sopsFile = ../../secrets.yaml;
|
|
|
|
satellite.nginx.at.guacamole.port = 8443; # default tomcat port
|
|
|
|
|
|
|
|
services.guacamole-server = {
|
|
|
|
enable = true;
|
|
|
|
services.guacamole-server.userMappingXml = config.sops.secrets.guacamoleUsers.path;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.guacamole-client = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-06-13 15:50:52 +02:00
|
|
|
|
|
|
|
# Allow ssh-ing using the provided key
|
|
|
|
users.users.pilot.openssh.authorizedKeys.keyFiles = [ ./ed25519.pub ];
|
2024-06-13 15:47:36 +02:00
|
|
|
}
|