{ pkgs, ... }: { services = { xserver = { enable = true; displayManager = { gdm = { enable = true; wayland = true; autoSuspend = false; }; }; desktopManager = { gnome = { enable = true; debug = true; }; xterm.enable = false; }; xkb.layout = "de"; }; displayManager = { logToFile = true; }; gnome = { core-utilities.enable = true; core-shell.enable = true; core-os-services.enable = true; gnome-keyring.enable = true; }; }; environment.gnome.excludePackages = with pkgs; [ epiphany gnome-online-accounts-gtk gnome-tour geary gnome-calendar gnome-contacts xterm ]; programs.dconf = { enable = true; profiles.user.databases = [ { settings = { # Set the color scheme to dark. "org/gnome/desktop/interface".color-scheme = "prefer-dark"; "org/gnome/desktop/wm/keybindings".close = [ "q" ]; "org/gnome/settings-daemon/plugins/power".power-button-action = "shutdown"; "org/gnome/settings-daemon/plugins/power".sleep-inactive-ac-type = "nothing"; }; } ]; profiles.gdm.databases = [ { settings = { "org/gnome/login-screen" = { disable-user-list = true; }; }; } ]; }; }