mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
50 lines
1.7 KiB
Nix
50 lines
1.7 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
# 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;
|
|
|
|
# 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; [
|
|
baobab # Disk usage analyzer
|
|
gnome-connections # Remote desktop client (VNC, RDP)
|
|
gnome.gnome-logs # Systemd journal log viewer
|
|
gnome-photos
|
|
gnome-tour # Introduction to GNOME
|
|
gnome-console # Terminal emulator. TODO Can the color scheme be configured with dconf?
|
|
gnome.cheese # Webcam viewer
|
|
gnome.gnome-music # Music player
|
|
gnome.epiphany # Web browser
|
|
gnome.geary # Email
|
|
#gnome.gnome-characters # Emoji keyboard
|
|
#gnome.gnome-contacts # Address book
|
|
gnome.gnome-font-viewer # View and install fonts
|
|
gnome.gnome-system-monitor # Resource monitor / task manager
|
|
gnome.totem # Video player
|
|
]);
|
|
# GNOME Calendar comes preinstalled. https://nixos.wiki/wiki/GNOME/Calendar
|
|
|
|
# Configure keymap in X11.
|
|
services.xserver = {
|
|
layout = "de";
|
|
xkbVariant = "nodeadkeys";
|
|
};
|
|
}
|