Skip to content

System and development setup and config files for personal use.

Notifications You must be signed in to change notification settings

RobertBrewitz/dotfiles

Repository files navigation

Dotfiles

NPM Security

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

Setup OS X

xcode-select --install # install command line developer tools
git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh osx.sh

Setup ChromeOS

Prerequisite

Activate developer mode on your Chromebook.

Chromium Documentation

Setup

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

Setup Windows 10 WSL

Prerequisite

Activate developer mode on your Windows and install Ubuntu WSL.

Setup

Open Ubuntu WSL

git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh wsl.sh

Setup Ubuntu

Setup

Open terminal

git clone [email protected]:RobertBrewitz/dotfiles.git
cd dotfiles
sh ubuntu.sh

.gitconfig-user

Update .gitconfig-user email, user, username, and signingkey if applicable.

Hot Reloading frameworks

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

Ubuntu on NUC Audio & Mic combojack fix

Get codec info

cat /proc/asound/card*/codec* | grep Codec

Lookup model on kernel.org

Add setting to end of /etc/modprobe.d/alsa-base.conf file

options snd-hda-intel model=dell-headset-multi

Ubuntu 20.04 VPN IPSec LT2P workarounds

Known issues and workarounds

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

Ubuntu 22.04 Handle OpenVPN dns push updates

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

Ubuntu 22.04 disable auto updates

sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades

Ubuntu 22.04 nvidia drivers

Disable nouveau

  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

About

System and development setup and config files for personal use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published