add gnome to thinkpad
This commit is contained in:
parent
7d2d987f04
commit
62041231b9
3 changed files with 165 additions and 2 deletions
|
|
@ -9,8 +9,24 @@
|
|||
../home-default.nix
|
||||
../../../modules/syncthing.nix
|
||||
../../../modules/tex.nix
|
||||
../../../modules/gnome.nix
|
||||
../../../modules/firefox.nix
|
||||
];
|
||||
|
||||
# Any ThinkPad-specific home configurations can be added here
|
||||
# For example, laptop-specific aliases or scripts
|
||||
# Enable GNOME configuration
|
||||
programs.gnome-custom = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Enable Firefox browser
|
||||
programs.firefox-custom = {
|
||||
enable = true;
|
||||
package = pkgs.firefox;
|
||||
};
|
||||
|
||||
# ThinkPad-specific applications
|
||||
home.packages = with pkgs; [
|
||||
obsidian
|
||||
keepassxc
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue