11.stylix/stylix/testbed/graphical-environments/gnome.nix
awwpotato 03699ed214
stylix/testbed: respect xserver rename for gnome (#1714)
Fixes: 8c854fe383 ("stylix: allow choosing testbed desktop (#1222)")
Link: https://github.com/nix-community/stylix/pull/1714

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-17 13:01:22 +02:00

19 lines
403 B
Nix

{
config,
lib,
pkgs,
...
}:
{
config =
lib.mkIf (config.stylix.testbed.ui.graphicalEnvironment or null == "gnome")
{
services = {
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
# Disable the GNOME tutorial which pops up on first login.
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
};
}