From 65fa47449b4e880254f2b2213013ebd96bf8998c Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Wed, 4 Sep 2024 11:10:43 +0200 Subject: [PATCH] temperance/hardware: init, add monitors --- hosts/vali/temperance/hardware/default.nix | 1 + hosts/vali/temperance/hardware/monitors.nix | 40 +++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 hosts/vali/temperance/hardware/default.nix create mode 100644 hosts/vali/temperance/hardware/monitors.nix diff --git a/hosts/vali/temperance/hardware/default.nix b/hosts/vali/temperance/hardware/default.nix new file mode 100644 index 0000000..715273e --- /dev/null +++ b/hosts/vali/temperance/hardware/default.nix @@ -0,0 +1 @@ +_: {imports = [./monitors.nix];} diff --git a/hosts/vali/temperance/hardware/monitors.nix b/hosts/vali/temperance/hardware/monitors.nix new file mode 100644 index 0000000..3b69ab9 --- /dev/null +++ b/hosts/vali/temperance/hardware/monitors.nix @@ -0,0 +1,40 @@ +_: { + modules.system.hardware.monitors = { + DP-2 = { + resolution = { + x = 1920; + y = 1080; + }; + scale = 1; + refreshRate = 60; + position = { + x = 0; + y = 0; + }; + }; + HDMI-A-2 = { + resolution = { + x = 1920; + y = 1080; + }; + scale = 1; + refreshRate = 60; + position = { + x = 1920; + y = 0; + }; + }; + HDMI-A-1 = { + resolution = { + x = 1920; + y = 1080; + }; + scale = 1; + refreshRate = 60; + position = { + x = 3840; + y = 0; + }; + }; + }; +}