Skip to content

doubledup/dotfiles

Repository files navigation

dotfiles

Configuration files managed with rcm.

Setup

git clone https://github.com/doubledup/dotfiles ~/.dotfiles
cd ~/.dotfiles
./install
updateAll

mksshkey will create an ssh key. To add it to Github, login via the CLI with gh auth login --git-protocol ssh -h github.com.

For machine-local kitty, fish and neovim config, add '.local' before the file extension and save it in the same place, eg. use ~/.config/kitty/kitty.local.conf for kitty config you only want on your current machine, or ~/.config/fish/config.local.fish for NeoVim config.

Firefox

In the about:config page:

  • To enable the custom stylesheet, set toolkit.legacyUserProfileCustomizations.stylesheets to true.
  • To disable loading tabs on demand, set browser.sessionstore.restore_on_demandbrowser.sessionstore.restore_on_demand to true

MacOS

Ensure only Brewfile packages are installed:

brew bundle install --cleanup --file ~/.dotfiles/Brewfile

Update Brewfile

Prune explicitly installed packages, listed with:

brew leaves

Overwrite the Brewfile:

brew bundle dump --file=~/.dotfiles/Brewfile --force --brews --taps --casks --mas

Linux/Debian

packages

Install packages and set up config:

./packages/apt-deps
./packages/apt
RCRC="$HOME/.dotfiles/rcrc" rcup -t linux

Disable Bluetooth on startup

Install tlp. Then set DEVICES_TO_DISABLE_ON_STARTUP:

echo 'DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wwan"' | sudo tee -a /etc/tlp.conf >/dev/null

Set default commands (eg. terminal emulator)

sudo update-alternatives --set x-terminal-emulator /usr/bin/kitty

GNOME

Run ./gnome_settings to restore GNOME desktop settings.

Extensions

Always show Bluetooth icon in system menu: Bluetooth quick connect

Speed up shell animations: Impatience

Docker

After installing Docker, add yourself to the docker group with sudo usermod -aG docker doubledup and restart.