refactor(gui): replace GNOME remote desktop with XRDP

- Switched from GNOME remote desktop to XRDP for remote access services across configurations.
- Removed GNOME-specific settings and added XRDP service settings in GUI and system modules.
- Enhances flexibility and aligns remote desktop service configuration.
This commit is contained in:
Harald Hoyer 2025-09-12 09:38:53 +02:00
parent 63cd974f58
commit d316ef4c2d
3 changed files with 4 additions and 13 deletions

View file

@ -167,6 +167,7 @@ in
yubikey-personalization
zellij
jetbrains-toolbox
gnome-remote-desktop
]
++ lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
with pkgs;
@ -206,10 +207,8 @@ in
};
# remote desktop
networking.firewall.allowedTCPPorts = [ 3389 ];
services.gnome.gnome-remote-desktop.enable = true;
systemd.services.gnome-remote-desktop = {
wantedBy = [ "graphical.target" ];
};
services.xrdp.enable = true;
services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session";
services.xrdp.openFirewall = true;
};
}