mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
updated, added lutris and prismlauncher, and tweaked xorg
This commit is contained in:
parent
8a37f59a09
commit
743760ba70
5 changed files with 56 additions and 60 deletions
|
|
@ -56,6 +56,8 @@ inputs: {
|
|||
pkgs.ripgrep
|
||||
inputs.suckless.packages.${pkgs.system}.st
|
||||
pkgs.alacritty
|
||||
pkgs.lutris
|
||||
pkgs.prismlauncher
|
||||
];
|
||||
|
||||
environment.etc."xdg/alacritty/alacritty.yml".source = "${self}/misc/alacritty.yml";
|
||||
|
|
|
|||
|
|
@ -78,10 +78,9 @@ in {
|
|||
services.xserver.displayManager.sessionCommands = lib.mkBefore ''
|
||||
if ! (test -e "/tmp/ONE_MONITOR"); then
|
||||
xrandr --setprovideroutputsource "AMD Radeon Graphics @ pci:0000:0f:00.0" NVIDIA-0
|
||||
xrandr --auto
|
||||
xrandr --output DP-0 --mode 3440x1440 --rate 120 --primary --left-of HDMI-A-1-0
|
||||
xrandr --output HDMI-A-1-0 --mode 1920x1080 --rate 120 --set TearFree on
|
||||
xset s off -dpms
|
||||
xrandr --output DP-0 --mode 3440x1440 --rate 120 --primary --pos 0x0
|
||||
xrandr --output HDMI-A-1-0 --mode 1920x1080 --rate 144 --set TearFree on --pos 3440x360
|
||||
xset -dpms
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue