sisyphus/nixos/modules/des/gnome/default.nix

74 lines
1.7 KiB
Nix
Raw Normal View History

2023-03-28 19:03:54 +02:00
{ config, lib, pkgs, ... }:
{
2023-04-29 20:25:20 +02:00
services.xserver = {
enable = true;
# Enable the GNOME Desktop Environment.
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
2023-03-28 19:03:54 +02:00
2023-04-29 20:25:20 +02:00
excludePackages = with pkgs; [
xterm
];
};
2023-03-28 19:03:54 +02:00
2023-04-29 20:25:20 +02:00
environment.systemPackages = with pkgs; [
gnomeExtensions.launch-new-instance
];
2023-03-28 19:03:54 +02:00
2023-08-29 13:18:40 +02:00
# We do not want these packages automatically
2023-04-29 20:25:20 +02:00
environment.gnome.excludePackages = (with pkgs; [
2023-08-29 13:18:40 +02:00
baobab
2023-04-29 20:25:20 +02:00
epiphany # Web browser
2023-08-29 13:18:40 +02:00
evince # Document viewer
gnome-connections # Remote desktop client
2023-04-29 20:25:20 +02:00
gnome-console
gnome-photos
gnome-text-editor
gnome-tour
]) ++ (with pkgs.gnome; [
2023-08-29 13:18:40 +02:00
eog # Image viewer
file-roller # Archive manager
2023-04-29 20:25:20 +02:00
geary # Mail client
gedit
2023-05-03 09:36:08 +02:00
gnome-calculator
2023-04-29 20:25:20 +02:00
gnome-calendar
2023-05-03 09:36:08 +02:00
gnome-characters
2023-04-29 20:25:20 +02:00
gnome-clocks
gnome-contacts
2023-08-29 13:18:40 +02:00
gnome-disk-utility
2023-04-29 20:25:20 +02:00
gnome-maps
gnome-music
2023-08-29 13:18:40 +02:00
gnome-system-monitor
2023-04-29 20:25:20 +02:00
gnome-weather
simple-scan
totem # Movie player
yelp # Help viewer
]);
2023-10-05 22:50:39 +02:00
# GNOME ricing
# Browse available settings by running:
# gsettings list-schemas | xargs -I % sh -c 'echo %; gsettings list-keys %' | less
home-manager.users.tdpeuter.dconf.settings = {
"org/gnome/desktop/interface" = {
enable-animations = false;
};
"org/gnome/desktop/notifications" = {
show-in-lock-screen = false;
};
"org/gnome/desktop/peripherals.touchpad" = {
tap-to-click = true;
};
"org/gnome/mutter" = {
dynamic-workspaces = true;
workspaces-only-on-primary = false;
};
"org/gnome/shell/app-switcher" = {
current-workspace-only = true;
};
# TODO Add background
# "org/gnome/desktop/background"
};
2023-03-28 19:03:54 +02:00
}