mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
6c34cce882
Found thanks to nixd showing different colors for these.
39 lines
638 B
Nix
39 lines
638 B
Nix
{
|
|
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;
|
|
};
|
|
|
|
greetd.enable = lib.mkForce false;
|
|
};
|
|
|
|
systemd.services = {
|
|
"getty@tty1".enable = false;
|
|
"autovt@tty1".enable = false;
|
|
};
|
|
|
|
i18n.inputMethod = lib.mkForce {
|
|
type = "ibus";
|
|
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
|
};
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
programs.hyprland.enable = lib.mkForce false;
|
|
}
|