Remove xserver.nix
This commit is contained in:
parent
9385849afd
commit
0153b47408
|
@ -9,7 +9,6 @@
|
||||||
imports =
|
imports =
|
||||||
[(import ./bootloader.nix)]
|
[(import ./bootloader.nix)]
|
||||||
++ [(import ./hardware.nix)]
|
++ [(import ./hardware.nix)]
|
||||||
++ [(import ./xserver.nix)]
|
|
||||||
++ [(import ./nix.nix)]
|
++ [(import ./nix.nix)]
|
||||||
++ [(import ./network.nix)]
|
++ [(import ./network.nix)]
|
||||||
++ [(import ./pipewire.nix)]
|
++ [(import ./pipewire.nix)]
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
Loading…
Reference in a new issue