Files
nixos/configuration/modules/gnome.nix

28 lines
765 B
Nix

{ pkgs, config, 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; [
appindicator
] ++ optionals config.gnome.tablet [
touchup
];
};
}