xin/gui/gnome.nix
2023-09-01 09:00:36 -06:00

14 lines
273 B
Nix

{
config,
lib,
...
}:
with lib; {
options = {gnome = {enable = mkEnableOption "Enable GNOME desktop.";};};
config = mkIf config.gnome.enable {
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
};
}