nix-config/specializations/gnome.nix
Donovan Glover 06b14b11eb
chore: Move legacy options out of services.xserver
At some point these options were changed to be descendants of
`services` instead.
2024-06-04 10:22:09 -04:00

39 lines
762 B
Nix

{ pkgs, lib, config, ... }:
let
inherit (config.modules.system) username;
in
{
services = {
xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
excludePackages = [ pkgs.xterm ];
};
displayManager.autoLogin = {
enable = true;
user = username;
};
};
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;
}