mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
15 lines
292 B
Nix
15 lines
292 B
Nix
|
|
{ flake, osConfig, ... }:
|
||
|
|
let
|
||
|
|
inherit (flake.config.machines) devices;
|
||
|
|
|
||
|
|
deimos = devices.deimos.name;
|
||
|
|
host = osConfig.networking.hostName;
|
||
|
|
|
||
|
|
deviceLogic = if host == deimos then "1" else "1";
|
||
|
|
|
||
|
|
monitorSettings = [
|
||
|
|
"eDP-1,highres@highrr,0x0,${deviceLogic}"
|
||
|
|
];
|
||
|
|
in
|
||
|
|
monitorSettings
|