Remove xserver.nix

This commit is contained in:
Pedro Rey Anca 2025-07-25 12:59:00 +02:00
parent 9385849afd
commit 0153b47408
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
2 changed files with 0 additions and 28 deletions

View file

@ -9,7 +9,6 @@
imports =
[(import ./bootloader.nix)]
++ [(import ./hardware.nix)]
++ [(import ./xserver.nix)]
++ [(import ./nix.nix)]
++ [(import ./network.nix)]
++ [(import ./pipewire.nix)]

View file

@ -1,27 +0,0 @@
{
pkgs,
username,
...
}: {
services = {
xserver = {
enable = true;
xkb.layout = "es,us";
};
displayManager.autoLogin = {
enable = true;
user = "${username}";
};
libinput = {
enable = true;
# mouse = {
# accelProfile = "flat";
# };
};
};
# To prevent getting stuck at shutdown
systemd.extraConfig = "DefaultTimeoutStopSec=10s";
environment.systemPackages = [pkgs.xorg.xhost]; # GParted (and others) won't start if not installed
}