From da172aaa66aea8de5c619017595adbc5f2aaf94d Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:39:04 -0500 Subject: [PATCH] new monitor --- hosts/tempest/default.nix | 6 ++++++ modules/nixos/hardware/monitors.nix | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/hosts/tempest/default.nix b/hosts/tempest/default.nix index 9751d29..d1e21d9 100644 --- a/hosts/tempest/default.nix +++ b/hosts/tempest/default.nix @@ -41,6 +41,12 @@ inputs.nixpkgs.lib.nixosSystem rec { boot.kernelModules = [ "kvm-amd" ]; services.xserver.videoDrivers = [ "amdgpu" ]; + # I don't think I need this? + # boot.kernelParams = [ + # "video=DP-0:2560x1440@165" + # "video=DP-1:1920x1080@60" + # ]; + # Required binary blobs to boot on this machine hardware.enableRedistributableFirmware = true; diff --git a/modules/nixos/hardware/monitors.nix b/modules/nixos/hardware/monitors.nix index 7d7f73f..aa865f2 100644 --- a/modules/nixos/hardware/monitors.nix +++ b/modules/nixos/hardware/monitors.nix @@ -38,13 +38,14 @@ setupCommands = '' ${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 \ --mode 1920x1200 \ - --pos 1920x0 \ + --pos 2560x0 \ --rotate left \ - --output HDMI-A-0 \ + --output DisplayPort-0 \ --primary \ - --mode 1920x1080 \ + --mode 2560x1440 \ --pos 0x560 \ --rotate normal \ + --rate 120 \ --output DVI-0 --off \ --output DVI-1 --off \ '';