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
|
|
|
{
|
2024-06-03 19:09:58 +02:00
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
2023-07-04 22:35:44 +02:00
|
|
|
|
2024-06-03 19:09:58 +02:00
|
|
|
desktopManager.gnome.enable = true;
|
|
|
|
displayManager.gdm.enable = true;
|
2023-07-04 22:35:44 +02:00
|
|
|
|
2024-06-03 19:09:58 +02:00
|
|
|
excludePackages = [ pkgs.xterm ];
|
2023-07-04 22:35:44 +02:00
|
|
|
};
|
|
|
|
|
2024-06-03 19:09:58 +02:00
|
|
|
displayManager.autoLogin = {
|
|
|
|
enable = true;
|
|
|
|
user = username;
|
|
|
|
};
|
2023-06-17 15:18:24 +02:00
|
|
|
};
|
|
|
|
|
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 {
|
2024-07-16 18:25:04 +02:00
|
|
|
type = "ibus";
|
2023-06-17 15:18:24 +02:00
|
|
|
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
2023-06-21 09:08:20 +02:00
|
|
|
};
|
2023-06-17 15:18:24 +02:00
|
|
|
|
|
|
|
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
|
|
|
}
|