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

77 lines
1.9 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 = {
2023-10-08 13:12:27 +02:00
"org/gnome/desktop/background" = {
picture-uri = "file:///home/tdpeuter/Nextcloud/Afbeeldingen/wallpapers/bg";
picture-uri-dark = "file:///home/tdpeuter/Nextcloud/Afbeeldingen/wallpapers/bg-dark";
};
2023-10-05 22:50:39 +02:00
"org/gnome/desktop/interface" = {
enable-animations = false;
2023-10-08 13:12:27 +02:00
enable-hot-corners = false;
2023-10-05 22:50:39 +02:00
};
"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;
};
};
2023-03-28 19:03:54 +02:00
}