mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 09:24:54 +00:00
new monitor
This commit is contained in:
parent
11625adbe8
commit
da172aaa66
@ -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;
|
||||
|
||||
|
@ -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 \
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user