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:
parent
1ae46cd7b8
commit
0fb0cfae93
2 changed files with 15 additions and 12 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue