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.

73 lines
1.4 KiB

{ pkgs, ... }:
{
services = {
xserver = {
enable = true;
displayManager = {
lightdm = {
enable = true;
greeters.slick.enable = true;
extraSeatDefaults = ''
greeter-show-manual-login=true
greeter-hide-users=true
allow-guest=false
'';
};
};
desktopManager = {
gnome = {
enable = true;
debug = true;
};
xterm.enable = false;
};
xkb.layout = "de";
};
displayManager = {
defaultSession = "gnome";
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
gnome.geary
gnome.gnome-calendar
gnome.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";
};
}
];
};
}