new monitor

This commit is contained in:
Noah Masur 2024-12-12 22:39:04 -05:00
parent 11625adbe8
commit da172aaa66
No known key found for this signature in database
2 changed files with 10 additions and 3 deletions

View File

@ -41,6 +41,12 @@ inputs.nixpkgs.lib.nixosSystem rec {
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
services.xserver.videoDrivers = [ "amdgpu" ]; 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 # Required binary blobs to boot on this machine
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;

View File

@ -38,13 +38,14 @@
setupCommands = '' setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 \ ${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 \
--mode 1920x1200 \ --mode 1920x1200 \
--pos 1920x0 \ --pos 2560x0 \
--rotate left \ --rotate left \
--output HDMI-A-0 \ --output DisplayPort-0 \
--primary \ --primary \
--mode 1920x1080 \ --mode 2560x1440 \
--pos 0x560 \ --pos 0x560 \
--rotate normal \ --rotate normal \
--rate 120 \
--output DVI-0 --off \ --output DVI-0 --off \
--output DVI-1 --off \ --output DVI-1 --off \
''; '';