Skip to content

Commit 3d3204b

Browse files
committed
nixos: fix sway screen glitches with vulkan
1 parent 5c3e9ef commit 3d3204b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/common.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,10 @@ in
802802
extraSessionCommands = ''
803803
# see also https://wiki.hyprland.org/Configuring/Environment-variables/
804804
805+
# Fix screen tearing in external display of machine with nvidia GPU
806+
# https://old.reddit.com/r/swaywm/comments/102cdqa/how_can_i_fix_my_external_screen_flickering_with/
807+
export WLR_RENDERER=vulkan
808+
805809
export TERMINAL="alacritty"
806810
export BROWSER="firefox"
807811

0 commit comments

Comments
 (0)