Nix-Hyprland/nixos/modules/xserver.nix

27 lines
554 B
Nix
Raw Normal View History

2024-04-16 20:52:14 -04:00
{
services.xserver = {
enable = true;
windowManager.herbstluftwm.enable = true;
# displayManager = {
# autoLogin.enable = true;
# autoLogin.user = "amper";
# lightdm.enable = true;
# };
layout = "us";
xkbVariant = "";
libinput = {
enable = true;
mouse.accelProfile = "flat";
touchpad.accelProfile = "flat";
};
videoDrivers = [ "amdgpu" ];
deviceSection = ''Option "TearFree" "True"'';
#displayManager.gdm.enable = true;
#desktopManager.gnome.enable = true;
};
}