Compare commits

..

2 commits

Author SHA1 Message Date
Harald Hoyer
dc3a536709 feat(sgx): enable GUI in SGX module
- Changed `gui.enable` to `true` in the SGX default configuration.
- Allows GUI support within the SGX environment for improved usability.
2025-09-11 14:31:40 +02:00
Harald Hoyer
0fb0cfae93 refactor(gnome): relocate remote desktop configuration
- Moved GNOME remote desktop settings from `x1` module to GUI services module.
- Centralizes related configurations for better maintainability.
2025-09-11 14:31:13 +02:00
3 changed files with 16 additions and 13 deletions

View file

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

View file

@ -16,7 +16,7 @@
metacfg = { metacfg = {
base.enable = true; base.enable = true;
gui.enable = false; gui.enable = true;
nix-ld.enable = false; nix-ld.enable = false;
nix.enable = true; nix.enable = true;
podman.enable = true; podman.enable = true;

View file

@ -1,4 +1,9 @@
{ pkgs, lib, config, ... }: {
pkgs,
lib,
config,
...
}:
with lib; with lib;
with lib.metacfg; 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 = { environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD"; LIBVA_DRIVER_NAME = "iHD";
# NIXOS_OZONE_WL = "1"; # NIXOS_OZONE_WL = "1";