Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelbrusegard/dotfiles
Personal dotfiles including macos defaults, homebrew, karabiner, yabai, git, zshrc, wezterm, neovim and SSH + GPG scripts for GitHub.
https://github.com/michaelbrusegard/dotfiles
gitconfig homebrew karabiner-elements macos-defaults neovim wezterm yabai zshrc
Last synced: 7 days ago
JSON representation
Personal dotfiles including macos defaults, homebrew, karabiner, yabai, git, zshrc, wezterm, neovim and SSH + GPG scripts for GitHub.
- Host: GitHub
- URL: https://github.com/michaelbrusegard/dotfiles
- Owner: michaelbrusegard
- License: mit
- Created: 2023-08-31T02:30:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T15:17:52.000Z (about 2 months ago)
- Last Synced: 2024-09-15T00:09:42.783Z (about 2 months ago)
- Topics: gitconfig, homebrew, karabiner-elements, macos-defaults, neovim, wezterm, yabai, zshrc
- Language: Lua
- Homepage:
- Size: 43.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles
To get started, clone the repository into the home directory:
```zsh
git clone https://github.com/michaelbrusegard/dotfiles.git ~/dotfiles
```When finished switch to use SSH for the repository:
```zsh
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.
## Arch
### Creating symlinks for the config files
```zsh
cd ~/dotfiles/arch && stow -t ~ home && sudo stow -t /etc etc
```## MacOS
Before setting up MacOS, System Intergrity Protection (SIP) needs to be partially disabled for the [yabai](https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection) 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:
```zsh
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
zsh ~/dotfiles/macos/scripts/brew.zsh
```### Setting sensible system settings for MacOS
```zsh
zsh ~/dotfiles/macos/scripts/defaults.zsh
```### Creating symlinks for the config files
```zsh
cd ~/dotfiles && /opt/homebrew/bin/stow macos
```### Setup login items
```zsh
zsh ~/dotfiles/macos/scripts/login.zsh
```#### Screenshots
My setup evolves over time, so the screenshots might not reflect the current state of my setup.
## Espresso (Ubuntu Server)
Espresso is my personal home server used for hosting various applications and services.
### Installing packages
```sh
sh ~/dotfiles/espresso/scripts/apt.sh
```### Setting up symlinks
```sh
cd ~/dotfiles/espresso && stow --adopt -t ~ home && sudo stow --adopt -t /etc etc && git restore .
```### Setup login items
```sh
sh ~/dotfiles/espresso/scripts/login.sh
```## Shared
### Symlinks used by MacOS and Arch
```zsh
cd ~/dotfiles/shared
stow -t ~ home
```### Scripts
[Generate new SSH key for GitHub](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) by running:
```zsh
zsh ~/dotfiles/shared/scripts/ssh.zsh
```[Generating a new GPG key for GitHub](https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key) by running:
```zsh
zsh ~/dotfiles/shared/scripts/gpg.zsh
```## Inspiration…
- Mathias Bynens and his [MacOS defaults](https://github.com/mathiasbynens/dotfiles/blob/main/.macos)
- Dries Vints and his [SSH script](https://github.com/driesvints/dotfiles/blob/main/ssh.sh)
- Antione Martin and his [GPG script](https://github.com/antoinemartin/create-gpg-key/blob/main/create_gpg_key.sh)
- Elliot's fast and beautiful [.zshrc prompt](https://github.com/dreamsofautonomy/zensh/blob/main/.zshrc)
- [Michael Bao's dotfiles](https://github.com/tcmmichaelb139/.dotfiles)
- [Josean Martinez's dotfiles](https://github.com/josean-dev/dev-environment-files)
- [TheBlueRuby's awesome Arch Linux setup](https://github.com/TheBlueRuby/dotfiles-arch)
- [XLNC](https://github.com/naveenkrdy)