feat(gnome): add enable option
This commit is contained in:
1 parent
461c90cc25
commit
692bc6acb3
1 file changed
+6
-2
@@ -1,9 +1,13 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
options.desktop.gnome.enable = lib.mkEnableOption "GNOME desktop";
|
||||
|
||||
config = lib.mkIf config.desktop.gnome.enable {
|
||||
services.xserver = {
|
||||
displayManager.gdm.enable = true;
|
||||
displayManager.gdm.wayland = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
||||
# TODO: Declare monitors.xml
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user