The install scripts set ignore-scripts
to true to ignore any pre- and post-install hooks from npm packages.
npm config set ignore-scripts true
xcode-select --install # install command line developer tools
git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh osx.sh
Activate developer mode on your Chromebook.
Open crosh (terminal) with alt+ctrl+T in the Chrome browser
shell # to enter bash
git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh chronos.sh
Activate developer mode on your Windows and install Ubuntu WSL.
Open Ubuntu WSL
git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh wsl.sh
Open terminal
git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh ubuntu.sh
Update .gitconfig-user email, user, username, and signingkey if applicable.
To have developer servers such as react and preact, filewatch limit has to be increased for users.
echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches
echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
cat /proc/asound/card*/codec* | grep Codec
options snd-hda-intel model=dell-headset-multi
sudo apt install resolvconf
sudo vi /etc/NetworkManager/NetworkManager.conf
# Add `dns=dnsmasq` to `[main]`
sudo mv /etc/resolv.conf /etc/resolv.conf.systemd
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
sudo systemctl restart NetworkManager
sudo apt install openvpn-systemd-resolved
# add to .ovpn conf
script-security 2
up /etc/openvpn/update-systemd-resolved
up-restart
down /etc/openvpn/update-systemd-resolved
down-pre
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/blacklist.conf > /dev/null
echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d/blacklist.conf > /dev/null
sudo update-initramfs -u