add gnome to thinkpad

This commit is contained in:
Yan Lin 2025-10-20 14:57:36 +02:00
parent 7d2d987f04
commit 62041231b9
3 changed files with 165 additions and 2 deletions

View file

@ -114,6 +114,44 @@
jack.enable = true;
};
# GNOME Desktop Environment
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
# Keyboard layout
xkb = {
layout = "us";
options = "";
};
};
# Exclude unwanted GNOME default packages
environment.gnome.excludePackages = with pkgs; [
gnome-tour
epiphany # GNOME web browser
geary # GNOME email client
gnome-music
gnome-photos
gnome-maps
gnome-weather
gnome-contacts
gnome-clocks
simple-scan
totem # video player
yelp # help viewer
];
# XDG portal for proper desktop integration
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
];
};
# Touchpad configuration
services.libinput = {
enable = true;