switch to nvidia drivers
This commit is contained in:
parent
098be21c2b
commit
72c9592ea2
@ -4,8 +4,8 @@
|
|||||||
# run. Advanced users may wish to specify all system modules
|
# run. Advanced users may wish to specify all system modules
|
||||||
# in this array. For instance:
|
# in this array. For instance:
|
||||||
# MODULES=(piix ide_disk reiserfs)
|
# MODULES=(piix ide_disk reiserfs)
|
||||||
# MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
|
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
|
||||||
MODULES=()
|
# MODULES=()
|
||||||
|
|
||||||
# BINARIES
|
# BINARIES
|
||||||
# This setting includes any additional binaries a given user may
|
# This setting includes any additional binaries a given user may
|
||||||
|
@ -70,14 +70,14 @@ LocalFileSigLevel = Optional
|
|||||||
# repo name header and Include lines. You can add preferred servers immediately
|
# repo name header and Include lines. You can add preferred servers immediately
|
||||||
# after the header, and they will be used before the default mirrors.
|
# after the header, and they will be used before the default mirrors.
|
||||||
|
|
||||||
[archzfs]
|
# [archzfs]
|
||||||
Server = http://archzfs.com/$repo/x86_64
|
# Server = http://archzfs.com/$repo/x86_64
|
||||||
Server = http://mirror.sum7.eu/archlinux/archzfs/$repo/x86_64
|
# Server = http://mirror.sum7.eu/archlinux/archzfs/$repo/x86_64
|
||||||
Server = https://mirror.biocrafting.net/archlinux/archzfs/$repo/x86_64
|
# Server = https://mirror.biocrafting.net/archlinux/archzfs/$repo/x86_64
|
||||||
Server = https://mirror.in.themindsmaze.com/archzfs/$repo/x86_64
|
# Server = https://mirror.in.themindsmaze.com/archzfs/$repo/x86_64
|
||||||
|
|
||||||
[zfs-linux-lts]
|
# [zfs-linux-lts]
|
||||||
Server = http://kernels.archzfs.com/$repo/
|
# Server = http://kernels.archzfs.com/$repo/
|
||||||
|
|
||||||
#[testing]
|
#[testing]
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
15
etc/pacman.d/hooks/nvidia.hook
Normal file
15
etc/pacman.d/hooks/nvidia.hook
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[Trigger]
|
||||||
|
Operation=Install
|
||||||
|
Operation=Upgrade
|
||||||
|
Operation=Remove
|
||||||
|
Type=Package
|
||||||
|
Target=nvidia
|
||||||
|
Target=linux-lts
|
||||||
|
# Change the linux part above and in the Exec line if a different kernel is used
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description=Update Nvidia module in initcpio
|
||||||
|
Depends=mkinitcpio
|
||||||
|
When=PostTransaction
|
||||||
|
NeedsTargets
|
||||||
|
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux-lts) exit 0; esac; done; /usr/bin/mkinitcpio -P'
|
@ -24,3 +24,18 @@ export PATH="/home/default/.dotnet/tools:$PATH"
|
|||||||
|
|
||||||
# git
|
# git
|
||||||
export GIT_DISCOVERY_ACROSS_FILESYSTEM=true
|
export GIT_DISCOVERY_ACROSS_FILESYSTEM=true
|
||||||
|
|
||||||
|
## sway on nvidia
|
||||||
|
export WLR_NO_HARDWARE_CURSORS=1
|
||||||
|
# General wayland environment variables
|
||||||
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
export QT_QPA_PLATFORM=wayland
|
||||||
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
|
# Firefox wayland environment variable
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
export MOZ_USE_XINPUT2=1
|
||||||
|
# OpenGL Variables
|
||||||
|
export GBM_BACKEND=nvidia-drm
|
||||||
|
export __GL_GSYNC_ALLOWED=0
|
||||||
|
export __GL_VRR_ALLOWED=0
|
||||||
|
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||||
|
Loading…
Reference in New Issue
Block a user