nix-config/specializations/gnome.nix
Donovan Glover 8fa673095e
meta: Move DE-specific config to specializations
Helps keep the modules directory specific to the main configuration and
not any specializations.
2023-07-10 21:12:48 -04:00

39 lines
706 B
Nix

{ pkgs, lib, ... }:
{
services.xserver = {
enable = true;
desktopManager = {
gnome.enable = true;
};
displayManager = {
gdm.enable = true;
autoLogin = {
enable = true;
user = "user";
};
};
excludePackages = [ pkgs.xterm ];
};
systemd.services = {
"getty@tty1".enable = false;
"autovt@tty1".enable = false;
};
i18n.inputMethod = lib.mkForce {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [ mozc ];
};
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
hardware.pulseaudio.enable = false;
programs.hyprland.enable = lib.mkForce false;
services.greetd.enable = lib.mkForce false;
}