23 lines
541 B
Nix
23 lines
541 B
Nix
{pkgs, ...}: {
|
|
wayland.windowManager.sway.config = {
|
|
startup = [
|
|
{command = "${pkgs.xorg.xrandr}/bin/xrandr --output DP-2 --primary";}
|
|
];
|
|
output = {
|
|
"Acer Technologies ED270R TJMEE0043W01" = {
|
|
mode = "1920x1080@165Hz";
|
|
pos = "1080 420";
|
|
adaptive_sync = "off";
|
|
};
|
|
"Ancor Communications Inc VS278 FALMQS032358" = {
|
|
pos = "0 0";
|
|
transform = "270";
|
|
};
|
|
};
|
|
};
|
|
programs.waybar.settings = {
|
|
main.output = ["DP-2"];
|
|
alt.output = ["HDMI-A-1"];
|
|
};
|
|
}
|