1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

added screen-clone for e3027

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-11-10 11:12:00 +01:00
parent dfd8e42907
commit 83e711a841

View File

@ -91,6 +91,23 @@
}; };
}; };
}; };
"e3027-clone" = {
config = {
eDP-1 = {
enable = true;
crtc = 0;
position = "0x0";
mode = "1920x1200";
};
DP-1 = {
enable = true;
crtc = 1;
position = "0x0";
mode = "1920x1200";
};
};
};
}; };
hooks.postswitch = { hooks.postswitch = {
"polybar" = "systemctl --user restart polybar.service"; "polybar" = "systemctl --user restart polybar.service";