Add laptop TV configuration
All checks were successful
CI / build (push) Successful in 1m40s

This commit is contained in:
Fabian Hauser 2025-01-30 22:53:59 +02:00
parent b9e221f885
commit 27015ac293

View file

@ -13,6 +13,7 @@
mkScreen = display: position: { mkScreen = display: position: {
inherit (display.output) criteria; inherit (display.output) criteria;
inherit position; inherit position;
status = "enable";
}; };
mkProfile = name: outputs: { mkProfile = name: outputs: {
profile = { profile = {
@ -47,11 +48,18 @@
criteria = "Lenovo Group Limited LEN P24h-20 V307DA61"; criteria = "Lenovo Group Limited LEN P24h-20 V307DA61";
scale = null; scale = null;
}; };
estonia-tv.output = {
criteria = "Samsung Electric Company SAMSUNG 0x01000E00";
scale = 2.0;
};
}; };
in in
with lib; with lib;
(attrValues screens) (attrValues screens)
++ (with screens; [ ++ (with screens; [
(mkProfile "mobile-only" [
(mkScreen x1-screen "0,0")
])
(mkProfile "home-dock" [ (mkProfile "home-dock" [
(mkScreen x1-screen "0,120") (mkScreen x1-screen "0,120")
(mkScreen chur-4k "1920,0") (mkScreen chur-4k "1920,0")
@ -60,6 +68,10 @@
(mkScreen x1-screen "0,0") (mkScreen x1-screen "0,0")
(mkScreen estonia-thinkvision "1920,0") (mkScreen estonia-thinkvision "1920,0")
]) ])
(mkProfile "tv" [
((mkScreen x1-screen "0,0") // { status = "disable"; })
(mkScreen estonia-tv "0,0")
])
]); ]);
}; };
} }