zenix: move display settings to hardware conf

This commit is contained in:
Tristan 2025-09-22 20:42:19 +01:00
parent 9771065326
commit 6c4eb248c4
2 changed files with 20 additions and 18 deletions

View file

@ -85,6 +85,26 @@
home-manager.users.${user}.imports = [
{
home.stateVersion = "22.05";
programs.niri.settings = {
outputs."HP Inc. HP 24x 1CR9500W9Q" = {
mode = {
width = 1920;
height = 1080;
refresh = 143.855;
};
variable-refresh-rate = true;
scale = 1.0;
};
outputs."HDMI-A-1" = {
mode = {
width = 3840;
height = 2160;
refresh = 120.0;
};
variable-refresh-rate = true;
scale = 2.5;
};
};
}
];
}