10 lines
271 B
Nix
10 lines
271 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;
|
||
|
};
|
||
|
}
|