2024-04-04 22:36:08 +02:00
|
|
|
{ pkgs, lib, config, ... }:
|
2023-06-17 15:18:24 +02:00
|
|
|
|
2024-04-04 22:36:08 +02:00
|
|
|
let
|
|
|
|
inherit (config.modules.system) username;
|
|
|
|
in
|
2023-06-17 15:18:24 +02:00
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2023-07-04 22:35:44 +02:00
|
|
|
|
|
|
|
desktopManager = {
|
|
|
|
gnome.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
displayManager = {
|
|
|
|
gdm.enable = true;
|
|
|
|
|
|
|
|
autoLogin = {
|
|
|
|
enable = true;
|
2024-04-04 22:36:08 +02:00
|
|
|
user = username;
|
2023-07-04 22:35:44 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-06-17 15:18:24 +02:00
|
|
|
excludePackages = [ pkgs.xterm ];
|
|
|
|
};
|
|
|
|
|
2023-07-04 22:35:44 +02:00
|
|
|
systemd.services = {
|
|
|
|
"getty@tty1".enable = false;
|
|
|
|
"autovt@tty1".enable = false;
|
|
|
|
};
|
2023-06-17 15:18:24 +02:00
|
|
|
|
2023-06-18 15:20:46 +02:00
|
|
|
i18n.inputMethod = lib.mkForce {
|
2023-06-17 15:18:24 +02:00
|
|
|
enabled = "ibus";
|
|
|
|
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
2023-06-21 09:08:20 +02:00
|
|
|
};
|
2023-06-17 15:18:24 +02:00
|
|
|
|
|
|
|
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
|
|
|
|
|
|
|
|
hardware.pulseaudio.enable = false;
|
2023-06-18 15:20:46 +02:00
|
|
|
programs.hyprland.enable = lib.mkForce false;
|
|
|
|
services.greetd.enable = lib.mkForce false;
|
2023-06-17 15:18:24 +02:00
|
|
|
}
|