Set up automatic display management
This commit is contained in:
parent
d4438f028a
commit
8a2583c2a5
|
@ -43,6 +43,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Multiple screen setup
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
profiles.undocked.outputs = [{ criteria = "LVDS-1"; }];
|
||||
profiles.docked-hdmi.outputs = [
|
||||
{ criteria = "LVDS-1"; status = "disable"; }
|
||||
{ criteria = "HDMI-A-1"; }
|
||||
];
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
|
|
Loading…
Reference in a new issue