desktop/wm: setup autorandr
This commit is contained in:
parent
d94f3fc6bd
commit
154dd87905
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue