xin/gui/gnome.nix

13 lines
273 B
Nix
Raw Permalink Normal View History

2023-09-12 08:44:05 -06:00
{ config
, lib
, ...
2023-07-11 09:12:50 -06:00
}:
2022-08-25 12:21:35 -06:00
with lib; {
2023-09-12 08:44:05 -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;
};
}