chore: move displayManager, libinput from: ->

This commit is contained in:
Ahwx 2024-06-21 22:58:12 +02:00
parent 329acdeceb
commit 6e61d6f114
2 changed files with 17 additions and 13 deletions

View file

@ -1,5 +1,19 @@
{ pkgs, ... }:
{ username, pkgs, ... }:
{
services = {
displayManager.autoLogin = {
enable = true;
user = "${username}";
};
libinput = {
enable = true;
# mouse = {
# accelProfile = "flat";
# };
};
};
programs.hyprland.enable = true;
xdg.portal = {
enable = true;

View file

@ -5,18 +5,8 @@
enable = true;
xkb.layout = "us";
};
};
displayManager.autoLogin = {
enable = true;
user = "${username}";
};
libinput = {
enable = true;
# mouse = {
# accelProfile = "flat";
# };
};
};
# To prevent getting stuck at shutdown
# 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";
}