2023-09-14 11:53:32 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
2024-02-04 15:00:18 +01:00
|
|
|
# GNOME desktop environment.
|
|
|
|
# If the theme or other settings are broken after switching to GNOME from e.g. KDE, resetting settings can help:
|
|
|
|
# dconf reset -f / && reboot
|
|
|
|
# See also: kde.nix
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./audio.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Enable the X11 windowing system.
|
|
|
|
services.xserver.enable = true;
|
|
|
|
# Exclude xterm.
|
|
|
|
services.xserver.excludePackages = [ pkgs.xterm ];
|
|
|
|
|
|
|
|
# Enable the GNOME desktop environment.
|
|
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
|
|
# Toggles, weather the Wayland or X11 GNOME session is started.
|
|
|
|
services.xserver.displayManager.gdm.wayland = false;
|
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
|
|
|
2023-10-09 12:13:36 +02:00
|
|
|
# Don't install all programs of the GNOME desktop.
|
|
|
|
# https://nixos.wiki/wiki/GNOME#Excluding_some_GNOME_applications_from_the_default_install
|
|
|
|
environment.gnome.excludePackages = (with pkgs; [
|
2023-10-09 12:45:19 +02:00
|
|
|
baobab # Disk usage analyzer
|
2024-02-06 20:43:52 +01:00
|
|
|
snapshot # Camera
|
2023-10-09 12:45:19 +02:00
|
|
|
gnome-connections # Remote desktop client (VNC, RDP)
|
|
|
|
gnome.gnome-logs # Systemd journal log viewer
|
2023-10-09 12:13:36 +02:00
|
|
|
gnome-photos
|
2023-10-09 12:45:19 +02:00
|
|
|
gnome-tour # Introduction to GNOME
|
2024-01-13 22:04:09 +01:00
|
|
|
gnome-console # Terminal emulator. TODO Can the color scheme be configured with dconf?
|
2023-10-09 12:13:36 +02:00
|
|
|
gnome.cheese # Webcam viewer
|
|
|
|
gnome.gnome-music # Music player
|
|
|
|
gnome.epiphany # Web browser
|
|
|
|
gnome.geary # Email
|
2024-02-06 20:43:52 +01:00
|
|
|
gnome.simple-scan # Scanning
|
|
|
|
gnome.gnome-calendar # Calendar
|
|
|
|
gnome.gnome-weather # Weather forcast
|
|
|
|
gnome.gnome-clocks # Clock and timer
|
|
|
|
gnome.gnome-characters # Emoji keyboard
|
|
|
|
gnome.gnome-contacts # Address book
|
|
|
|
gnome.gnome-maps # Map and navigation
|
2023-10-09 12:45:19 +02:00
|
|
|
gnome.gnome-font-viewer # View and install fonts
|
2023-12-21 18:19:44 +01:00
|
|
|
gnome.gnome-system-monitor # Resource monitor / task manager
|
2024-01-07 22:35:38 +01:00
|
|
|
gnome.totem # Video player
|
2024-02-06 20:43:52 +01:00
|
|
|
gnome.yelp # GNOME help
|
2023-10-09 12:13:36 +02:00
|
|
|
]);
|
2023-12-23 16:16:16 +01:00
|
|
|
|
2023-09-14 11:53:32 +02:00
|
|
|
# Configure keymap in X11.
|
|
|
|
services.xserver = {
|
|
|
|
layout = "de";
|
|
|
|
xkbVariant = "nodeadkeys";
|
|
|
|
};
|
|
|
|
}
|