add tablet modes for firefox and gnome

This commit is contained in:
2025-10-10 23:18:42 +01:00
parent 6c69dab6fa
commit 950fe60383
9 changed files with 136 additions and 110 deletions

View File

@@ -1,17 +1,27 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
with lib;
{
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
options.gnome.tablet = mkOption {
type = types.bool;
default = false;
};
# 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 ];
config = {
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
environment.systemPackages = with pkgs.gnomeExtensions; [
tray-icons-reloaded
];
# 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
];
};
}

View File

@@ -30,7 +30,7 @@ in
environment.plasma6.excludePackages = [ pkgs.kdePackages.discover ];
# For cursor in steam?
xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];
# xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];
programs.partition-manager.enable = true;