Skip to content

Personal dotfiles including macos defaults, homebrew, karabiner, yabai, git, zshrc, wezterm, neovim and SSH + GPG scripts for GitHub.

License

Notifications You must be signed in to change notification settings

michaelbrusegard/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

To get started, clone the repository into the home directory:

git clone https://github.com/michaelbrusegard/dotfiles.git ~/dotfiles

When finished switch to use SSH for the repository:

cd ~/dotfiles && git remote set-url origin [email protected]:michaelbrusegard/dotfiles.git

Heads-up: The dotfiles in this repository are incomplete because I also maintain private dotfiles with sensitive information that I want to keep secure. The setup for the private dotfiles is the same.

MacOS

Before setting up MacOS, System Intergrity Protection (SIP) needs to be partially disabled for the yabai tiling window manager to work correctly.

  1. Turn off the mac, then press and hold the power button until "Loading startup options" appears. Click Options, then click Continue.

  2. In the menu bar, choose Utilities, then Terminal

  3. Run this:

csrutil enable --without fs --without debug --without nvram

Then go through each script below making sure it completes correctly before running the next.

Installing apps & utilities using homebrew

zsh ~/dotfiles/macos/scripts/brew.zsh

Setting sensible system settings for MacOS

zsh ~/dotfiles/macos/scripts/defaults.zsh

Creating symlinks for the config files

cd ~/dotfiles && /opt/homebrew/bin/stow macos

Setup login items

zsh ~/dotfiles/macos/scripts/login.zsh

Espresso (Ubuntu Server)

Espresso is my personal home server used for hosting various appications and services.

Installing packages

sh ~/dotfiles/espresso/scripts/apt.sh

Setting up symlinks

cd ~/dotfiles && stow --adopt espresso && git restore .

Setup login items

sh ~/dotfiles/espresso/scripts/login.sh

Shared

Generate new SSH key for GitHub by running:

zsh ~/dotfiles/shared/scripts/ssh.zsh

Generating a new GPG key for GitHub by running:

zsh ~/dotfiles/shared/scripts/gpg.zsh

Inspiration…

About

Personal dotfiles including macos defaults, homebrew, karabiner, yabai, git, zshrc, wezterm, neovim and SSH + GPG scripts for GitHub.

Topics

Resources

License

Stars

Watchers

Forks