Skip to content

Instantly share code, notes, and snippets.

@yuanjs
Created July 14, 2021 01:32
Show Gist options
  • Save yuanjs/d3d774e78d94dfd0bea57f75d9f7e73a to your computer and use it in GitHub Desktop.
Save yuanjs/d3d774e78d94dfd0bea57f75d9f7e73a to your computer and use it in GitHub Desktop.
ETH Mining - Manjaro OS
  1. Install Manjaro OS selecting nonfree drivers

  2. Run

sudo EDITOR=nano visudo

and uncomment the line

%wheel ALL=(ALL) NOPASSWD: ALL

save file and close

  1. Run
sudo rm /etc/sudoers.d/10-installer

to delete default sudoers rule

After above actions you will be able to run sudo commands without password on Manjaro OS


  1. Run
sudo nvidia-xconfig --cool-bits=31 --allow-empty-initial-configuration --enable-all-gpus

to be able to overclock nvidia GPU's and to turn on fan control

  1. Move the generated file "/etc/X11/xorg.conf" to X11 configs folder by running:
sudo mv /etc/X11/xorg.conf /usr/share/X11/xorg.conf.d/20-nvidia-auto.conf
  1. Also you can open this generated file to remove settings for mouse and keyboard, but it is not required.

  2. To be able connect to rig via ssh enable and start sshd:

sudo systemctl enable sshd
sudo systemctl start sshd
  1. The system is ready to mining. Download your favourite miner and set it up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment