xin/gui/gnome.nix

14 lines
273 B
Nix
Raw Permalink Normal View History

2023-09-01 09:00:36 -06:00
{
config,
lib,
...
}:
2022-08-25 12:21:35 -06:00
with lib; {
2023-09-01 09:00:36 -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;
};
}