refactor(gnome): relocate remote desktop configuration

- Moved GNOME remote desktop settings from `x1` module to GUI services module.
- Centralizes related configurations for better maintainability.
This commit is contained in:
Harald Hoyer 2025-09-11 14:31:13 +02:00
parent 1ae46cd7b8
commit 0fb0cfae93
2 changed files with 15 additions and 12 deletions

View file

@ -1,7 +1,8 @@
{ config
, lib
, pkgs
, ...
{
config,
lib,
pkgs,
...
}:
with lib;
@ -206,5 +207,9 @@ in
# remote desktop
networking.firewall.allowedTCPPorts = [ 3389 ];
services.gnome.gnome-remote-desktop.enable = true;
systemd.services.gnome-remote-desktop = {
wantedBy = [ "graphical.target" ];
};
};
}

View file

@ -1,4 +1,9 @@
{ pkgs, lib, config, ... }:
{
pkgs,
lib,
config,
...
}:
with lib;
with lib.metacfg;
{
@ -132,13 +137,6 @@ with lib.metacfg;
};
};
services.gnome.gnome-remote-desktop.enable = true;
systemd.services.gnome-remote-desktop = {
wantedBy = [ "graphical.target" ];
};
networking.firewall.allowedTCPPorts = [ 3389 ];
networking.firewall.allowedUDPPorts = [ 3389 ];
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
# NIXOS_OZONE_WL = "1";