Add nvidia options for hyprland to fix cursor

This commit is contained in:
Tyler Kelley 2024-01-29 12:37:37 -06:00
parent 76617cab39
commit cceb9fb7f2
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ pkgs, config, lib, browser,
cpuType, wallpaperDir,
cpuType, gpuType, wallpaperDir,
inputs, ... }:
let
@ -58,6 +58,10 @@ in with lib; {
env = WLR_RENDERER_ALLOW_SOFTWARE,1
'' else ''
''}
${if gpuType == "nvidia" then ''
env = WLR_NO_HARDWARE_CURSORS,1
'' else ''
''}
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3

View File

@ -8,6 +8,7 @@
swaynotificationcenter rofi-wayland imv transmission-gtk mpv
gimp obs-studio blender-hip kdenlive godot_4 rustup audacity
font-awesome spotify swayidle vim neovide neovim pavucontrol
element-desktop
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
# Import Scripts
(import ./../scripts/emopicker9000.nix { inherit pkgs; })