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.
|
2024-09-22 14:01:34 +02:00
|
|
|
services.xserver.displayManager.gdm.wayland = true;
|
2024-02-04 15:00:18 +01:00
|
|
|
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)
|
2024-12-03 22:16:26 +01:00
|
|
|
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?
|
2024-12-03 22:16:26 +01:00
|
|
|
cheese # Webcam viewer
|
|
|
|
gnome-music # Music player
|
|
|
|
epiphany # Web browser
|
|
|
|
geary # Email
|
|
|
|
simple-scan # Scanning
|
|
|
|
file-roller # Archive manager: Compress and decompress
|
|
|
|
gnome-calendar # Calendar
|
|
|
|
gnome-weather # Weather forcast
|
|
|
|
gnome-clocks # Clock and timer
|
|
|
|
gnome-characters # Emoji keyboard/picker
|
|
|
|
gnome-contacts # Address book
|
|
|
|
gnome-maps # Map and navigation
|
|
|
|
gnome-font-viewer # View and install fonts
|
|
|
|
gnome-system-monitor # Resource monitor / task manager
|
|
|
|
gnome-disk-utility # Partition and format disks. Mount disk images (.ISO)
|
|
|
|
gnome-calculator
|
|
|
|
totem # Video player
|
|
|
|
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.
|
2024-08-13 14:46:55 +02:00
|
|
|
services.xserver.xkb = {
|
2023-09-14 11:53:32 +02:00
|
|
|
layout = "de";
|
2024-08-13 14:46:55 +02:00
|
|
|
variant = "nodeadkeys";
|
2023-09-14 11:53:32 +02:00
|
|
|
};
|
|
|
|
}
|