nix-config/specializations/gnome.nix

38 lines
644 B
Nix
Raw Normal View History

{
pkgs,
lib,
config,
...
}:
let
inherit (config.modules.system) username;
in
{
services = {
xserver = {
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
};
displayManager.autoLogin = {
enable = true;
user = username;
};
};
systemd.services = {
"getty@tty1".enable = false;
"autovt@tty1".enable = false;
};
i18n.inputMethod = lib.mkForce {
type = "ibus";
ibus.engines = with pkgs.ibus-engines; [ mozc ];
2023-06-21 09:08:20 +02:00
};
hardware.pulseaudio.enable = false;
programs.hyprland.enable = lib.mkForce false;
services.greetd.enable = lib.mkForce false;
}