Dotfiles: Add pacman hook to nvidia fix
This commit is contained in:
parent
106c70e666
commit
bab7883ad2
|
|
@ -6,5 +6,7 @@ root_guard
|
|||
|
||||
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/path/to/tmp-nvidia" > /etc/modprobe.d/nvidia-power-management.conf
|
||||
|
||||
install -m 644 "${CURDIR}/../files/hooks/nvidia.hook" /etc/pacman.d/hooks/nvidia.hook
|
||||
|
||||
systemctl enable nvidia-suspend
|
||||
systemctl enable nvidia-hibernate
|
||||
|
|
|
|||
Loading…
Reference in New Issue