NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
1.5 KiB

{ pkgs, ... }:
{
services = {
xserver = {
enable = true;
displayManager = {
gdm = {
enable = true;
wayland = true;
autoSuspend = false;
};
};
desktopManager = {
gnome = {
enable = true;
debug = true;
flashback.enableMetacity = true;
};
xterm.enable = false;
};
xkb.layout = "de";
};
displayManager = {
logToFile = true;
defaultSession = "gnome-flashback-metacity";
};
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 = [ "<Super>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;
};
};
}
];
};
}