From c0b87a7d4a52ff0b7ba9c59983d1e811ebbafdf3 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 23 Apr 2023 19:54:31 +0100 Subject: [PATCH] nixos/castle: Add correct display layout --- nixos/boxes/castle/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/nixos/boxes/castle/default.nix b/nixos/boxes/castle/default.nix index 8889337..7c1255b 100644 --- a/nixos/boxes/castle/default.nix +++ b/nixos/boxes/castle/default.nix @@ -29,7 +29,7 @@ kernelModules = [ "kvm-amd" ]; kernelParams = [ "amd_iommu=on" ]; initrd = { - availableKernelModules = ["thunderbolt" "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + availableKernelModules = [ "thunderbolt" "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ]; }; }; @@ -136,8 +136,18 @@ wayland.windowManager.sway = { config = { - # input."1:1:AT_Translated_Set_2_keyboard".xkb_layout = "ie"; - # output.eDP-1.scale = "1"; + output = { + HDMI-A-1 = { + transform = "270"; + position = "0 0"; + }; + DP-1 = { + mode = "2560x1440@170Hz"; + subpixel = "bgr"; + position = "1440 560"; + }; + DP-2.position = "4000 560"; + }; }; };