# vim: et:ts=2:sw=2:
{ config, pkgs, ... }:

{
  #
  # Xrdp, for being able to connect via Windows clients.
  #
  services.xserver = {
    enable = true;
    displayManager.sddm.enable = true;
    desktopManager.plasma5.enable = true;
  };

  services.xrdp = {
    enable = true;
    defaultWindowManager = "${pkgs.fluxbox}/bin/fluxbox";
  };
  networking.firewall.allowedTCPPorts = [ 3389 ];

  #
  # x2go, for connecting from macOS and Linux
  #
  services.x2goserver = {
    enable = true;
    settings = { };
  };
}
