+ nvidia
This commit is contained in:
@@ -174,7 +174,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- and disable the two options `Ask before syncing folders larger than xxx` and `Ask before syncing external storages`
|
- and disable the two options `Ask before syncing folders larger than xxx` and `Ask before syncing external storages`
|
||||||
- click `Connect`
|
- click `Connect`
|
||||||
- wait for nextcloud to complete syncronisation
|
- wait for nextcloud to complete syncronisation
|
||||||
- this will take many hours, possibly days, depending on the internet speed
|
- this will likely take a few days, depending on the internet speed and the amount of data stored with nextcloud
|
||||||
|
|
||||||
## step five :: post syncronisation tasks
|
## step five :: post syncronisation tasks
|
||||||
|
|
||||||
@@ -184,7 +184,11 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- `importGnupgKeys.sh` (deployment of gnupgp keys)
|
- `importGnupgKeys.sh` (deployment of gnupgp keys)
|
||||||
- `reboot` and re-login
|
- `reboot` and re-login
|
||||||
|
|
||||||
## step six :: final tweaks
|
## step six :: nvidia
|
||||||
|
|
||||||
|
if the system runs nvidia, follow the steps in `dots/nvidia/readme.md` to set up the nvidia driver.
|
||||||
|
|
||||||
|
## step seven :: final tweaks
|
||||||
|
|
||||||
- firefox
|
- firefox
|
||||||
- install dictionaries for [en-AU](https://addons.mozilla.org/en-US/firefox/addon/english-australian-dictionary/) and [no-NB](https://addons.mozilla.org/en-US/firefox/addon/norsk-bokm%C3%A5l-ordliste/)
|
- install dictionaries for [en-AU](https://addons.mozilla.org/en-US/firefox/addon/english-australian-dictionary/) and [no-NB](https://addons.mozilla.org/en-US/firefox/addon/norsk-bokm%C3%A5l-ordliste/)
|
||||||
|
|||||||
16
dots/nvidia/nvidia.hook
Normal file
16
dots/nvidia/nvidia.hook
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[Trigger]
|
||||||
|
Operation=Install
|
||||||
|
Operation=Upgrade
|
||||||
|
Operation=Remove
|
||||||
|
Type=Package
|
||||||
|
Target=nvidia
|
||||||
|
Target=linux
|
||||||
|
# Adjust line(6) above to match your driver, e.g. Target=nvidia-470xx-dkms
|
||||||
|
# Change line(7) above, if you are not using the regular kernel For example, Target=linux-lts
|
||||||
|
|
||||||
|
[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) exit 0; esac; done; /usr/bin/mkinitcpio -P'
|
||||||
28
dots/nvidia/readme.md
Normal file
28
dots/nvidia/readme.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# nvidia driver installation guide
|
||||||
|
|
||||||
|
this guide is based upon: https://github.com/korvahannu/arch-nvidia-drivers-installation-guide
|
||||||
|
which is based upon: https://wiki.archlinux.org/title/NVIDIA
|
||||||
|
where this also is nifty: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
|
||||||
|
|
||||||
|
### set kernel parameters
|
||||||
|
|
||||||
|
- `cd /boot/loader/entries/`
|
||||||
|
- edit the appropriate .conf file for the boot entry
|
||||||
|
- `sudo nano <filename>.conf`
|
||||||
|
- append `nvidia-drm.modeset=1 fbdev=1` to the `options` line
|
||||||
|
- create a new line, with the info: `blacklist nouveau`
|
||||||
|
- save (`ctrl+s`) and close (`ctrl+x`)
|
||||||
|
|
||||||
|
### add early loading
|
||||||
|
|
||||||
|
- `sudo nano /etc/mkinitcpio.conf`
|
||||||
|
- find the line that says `MODULES=(…)`
|
||||||
|
- add nvidia modules: `MODULES=(… nvidia nvidia_modeset nvidia_uvm nvidia_drm)`
|
||||||
|
- find the line that says `HOOKS=()`
|
||||||
|
- on the `HOOKS=()` line, find the word `kms` inside the parenthesis and remove it
|
||||||
|
- save (`ctrl+s`) and close (`ctrl+x`)
|
||||||
|
- regenerate the initramfs with `sudo mkinitcpio -P`
|
||||||
|
|
||||||
|
### add pacman hook
|
||||||
|
|
||||||
|
- `sudo mkdir -p /etc/pacman.d/hooks/ && sudo mv /home/poq/syncDir/gitRepos/git.mz.fo/lnx-arch/dots/nvidia/nvidia.hook /etc/pacman.d/hooks/`
|
||||||
Reference in New Issue
Block a user