Second monitor on Hyprland

john_dikeman

New Member
Joined
Jun 21, 2026
Messages
5
Reaction score
0
Credits
51
I'm running the latest Hprland, with lua, on Nixos. I'm trying to connect my LG OLED48C24LA as a secondary monitor. When I search monitors it shows up as capable of 4k but no matter what setting I use, it reduces it to 1920x1080@120hz.
This is the code I have in the lua file:

hl.monitor({
output = "eDP-1",
mode = "3840x2160@60",
position = "0x0",
scale = 2.5,
})
hl.monitor({
output = "HDMI-A-1",
mode = "3840x2160@30",
position = "auto",
scale = 1,
})

When I reboot I get an error, unable to load any modes, reverting to 1920...
I've also tried mode = "highres" and auto.
 
Last edited:




Follow Linux.org

Members online


Top