chore: update flake

This commit is contained in:
danny 2026-01-24 15:10:26 +08:00
parent 25482857d4
commit b4b7997ac5
11 changed files with 163 additions and 140 deletions

View file

@ -6,7 +6,7 @@
}:
let
inherit (helper) getMonitors;
inherit (builtins) elemAt;
inherit (builtins) elemAt length;
inherit (config.networking) hostName;
inherit (config.systemConf) username;
inherit (lib) optionalString mkForce;
@ -24,7 +24,11 @@ in
let
monitors = getMonitors hostName config;
mainMonitor = (elemAt monitors 0).criteria;
secondMonitor = (elemAt monitors 1).criteria;
secondMonitor =
let
index = if (length monitors) > 1 then 1 else 0;
in
(elemAt monitors index).criteria;
mainMonitorSwayFormat = "desc:ASUSTek COMPUTER INC - ASUS VG32VQ1B";
in
{
@ -58,6 +62,18 @@ in
}
];
}
{
profile.name = "AcerOnly";
profile.outputs = [
{
criteria = "Acer Technologies XV272U V3 1322131231233";
mode = "2560x1440@179.876999Hz";
position = "0,0";
transform = "normal";
scale = 1.0;
}
];
}
];
programs.ghostty.settings = {