mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-05-15 07:59:47 +02:00
17 lines
434 B
Nix
17 lines
434 B
Nix
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.${namespace}.desktop.gnome;
|
|
in {
|
|
options.${namespace}.desktop.gnome = {enable = mkEnableOption "Enable the gnome desktop environment ${namespace}";};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
};
|
|
}
|