xin/gui/gnome.nix

14 lines
273 B
Nix
Raw Normal View History

2023-07-11 09:12:50 -06:00
{
config,
lib,
...
}:
2022-08-25 12:21:35 -06:00
with lib; {
2023-07-11 09:12:50 -06:00
options = {gnome = {enable = mkEnableOption "Enable GNOME desktop.";};};
2022-08-25 12:21:35 -06:00
config = mkIf config.gnome.enable {
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
};
}