desktop/wm: setup autorandr

This commit is contained in:
Infinidoge 2023-09-30 22:55:30 -04:00
parent d94f3fc6bd
commit 154dd87905

View file

@ -17,6 +17,13 @@ in
monitors = mkDefault 1;
};
# Automatically attach/detatch connected/disconnected monitors
services.autorandr = {
enable = config.info.graphical;
ignoreLid = true;
defaultTarget = "horizontal";
};
services.xserver = {
enable = true;
displayManager.lightdm.enable = true;