Set up automatic display management

This commit is contained in:
Natsu Kagami 2022-05-05 09:52:50 -04:00
parent d4438f028a
commit 8a2583c2a5
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -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