chore: move stuff around so it's more in place; disable xserver

This commit is contained in:
Ahwx 2024-10-30 12:06:33 +01:00
parent 205539409b
commit 696c20b09d
2 changed files with 9 additions and 9 deletions

View file

@ -10,4 +10,7 @@
# dont shutdown when power button is short-pressed # dont shutdown when power button is short-pressed
HandlePowerKey=ignore HandlePowerKey=ignore
''; '';
# To prevent getting stuck at shutdown.
systemd.extraConfig = "DefaultTimeoutStopSec=10s";
} }

View file

@ -1,12 +1,9 @@
{ username, ... }: { username, ... }:
{ {
services = { # services = {
xserver = { # xserver = {
enable = true; # enable = true;
xkb.layout = "us"; # xkb.layout = "us";
}; # };
}; # };
# To prevent getting stuck at shutdown - this is not Xorg related, but I like to blame Xorg for all of my life issues.
systemd.extraConfig = "DefaultTimeoutStopSec=10s";
} }