28 lines
764 B
Nix
28 lines
764 B
Nix
{ pkgs, lib, ... }:
|
|
with lib;
|
|
{
|
|
options.gnome.tablet = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
|
|
config = {
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
|
|
# To disable installing GNOME's suite of applications
|
|
# and only be left with GNOME shell.
|
|
# services.gnome.core-apps.enable = false;
|
|
services.gnome.core-developer-tools.enable = false;
|
|
services.gnome.games.enable = false;
|
|
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ];
|
|
|
|
environment.systemPackages = with pkgs.gnomeExtensions; [
|
|
tray-icons-reloaded
|
|
] ++ optionals config.gnome.tablet [
|
|
touchup
|
|
];
|
|
};
|
|
}
|