nix-git/modules/gnome-base.nix

62 lines
2.1 KiB
Nix
Raw Normal View History

2023-09-14 11:53:32 +02:00
{ config, pkgs, ... }:
{
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
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
2023-11-18 11:52:59 +01:00
#gnome.gnome-characters # Emoji keyboard
#gnome.gnome-contacts # Address book
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
2023-10-09 12:13:36 +02:00
]);
2023-12-23 16:16:16 +01:00
# GNOME Calendar comes preinstalled. https://nixos.wiki/wiki/GNOME/Calendar
2023-09-14 11:53:32 +02:00
# Enable the X11 windowing system.
services.xserver.enable = true;
2024-01-18 11:53:04 +01:00
# Exclude xterm.
services.xserver.excludePackages = [ pkgs.xterm ];
2023-09-14 11:53:32 +02:00
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
# Toggles, weather the Wayland or X11 GNOME session is started.
2024-02-02 11:17:07 +01:00
services.xserver.displayManager.gdm.wayland = false;
2023-09-14 11:53:32 +02:00
services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11.
services.xserver = {
layout = "de";
xkbVariant = "nodeadkeys";
};
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this.
#jack.enable = true;
# Use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
}