From 3d41960c3f6f24192377b6f612fbd692ebbc850f Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Tue, 7 Jan 2025 19:02:50 +0800 Subject: [PATCH] hosts/marisa-7d76: dual monitor setup --- nixos/hosts/marisa-7d76/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/marisa-7d76/default.nix b/nixos/hosts/marisa-7d76/default.nix index ef8ce40..ebba84e 100644 --- a/nixos/hosts/marisa-7d76/default.nix +++ b/nixos/hosts/marisa-7d76/default.nix @@ -23,8 +23,18 @@ ]; programs.niri.settings = { - input.tablet.map-to-output = "HDMI-A-1"; - outputs."HDMI-A-1".scale = 1.75; + outputs = { + "HDMI-A-1" = { + scale = 1.75; + }; + "DP-1" = { + scale = 1.75; + position = { + x = 0; + y = 0; + }; + }; + }; }; };