mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: move stuff around so it's more in place; disable xserver
This commit is contained in:
parent
205539409b
commit
696c20b09d
2 changed files with 9 additions and 9 deletions
|
|
@ -10,4 +10,7 @@
|
||||||
# don’t shutdown when power button is short-pressed
|
# don’t shutdown when power button is short-pressed
|
||||||
HandlePowerKey=ignore
|
HandlePowerKey=ignore
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# To prevent getting stuck at shutdown.
|
||||||
|
systemd.extraConfig = "DefaultTimeoutStopSec=10s";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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";
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue