2024-06-13 15:47:36 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2024-06-13 16:00:38 +02:00
|
|
|
sops.secrets.guacamole_users.sopsFile = ../../secrets.yaml;
|
2024-06-13 15:47:36 +02:00
|
|
|
satellite.nginx.at.guacamole.port = 8443; # default tomcat port
|
|
|
|
|
2024-06-13 15:58:41 +02:00
|
|
|
services.guacamole_server = {
|
2024-06-13 15:47:36 +02:00
|
|
|
enable = true;
|
2024-06-13 15:58:41 +02:00
|
|
|
userMappingXml = config.sops.secrets.guacamole_users.path;
|
2024-06-13 15:47:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
}
|