···4747 system = "aarch64-darwin";
4848 user = "ianchamberlain";
4949 };
5050+ # NOTE: this is actually my older laptop despite the name
5051 ichamberlain-mbp-2 = {
5152 system = "x86_64-darwin";
5353+ user = "ichamberlain";
5454+ };
5555+ ichamberlain-mbp = {
5656+ system = "aarch64-darwin";
5257 user = "ichamberlain";
5358 };
5459 prismo = {
+29-19
.config/yadm/bootstrap
···17171818# TODO: all these should be doable with nix-darwin instead
1919function setup_macos() {
2020- # Specify iTerm2 preferences directory
2121- #shellcheck disable=SC2088
2222- defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string '~/.config/iterm2/'
2323- defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
2020+ if command -q darwin-rebuild &>/dev/null; then
2121+ darwin-rebuild switch
2222+ else
2323+ nix run flake:nix-darwin -- switch --flake ~/.config
2424+ fi
24252525- defaults write com.hegenberg.BetterTouchTool BTTAutoLoadPath ~/.config/btt/Default.bttpreset
2626+ if false; then
2727+ # Specify iTerm2 preferences directory
2828+ #shellcheck disable=SC2088
2929+ defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string '~/.config/iterm2/'
3030+ defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
3131+3232+ defaults write com.hegenberg.BetterTouchTool BTTAutoLoadPath ~/.config/btt/Default.bttpreset
26332727- # Default file associations (eventually replace with sdwa)
2828- duti ~/.config/duti
3434+ # Default file associations (eventually replace with sdwa)
3535+ duti ~/.config/duti
3636+ fi
29373038 echo "macOS-specific setup is complete!"
3139}
···7179 setup_linux
7280 fi
73817474- # Install homebrew and use it to install basic packages/apps
7575- if ! command -v brew &>/dev/null && \
7676- confirm "'brew' command not found. Install it? "
7777- then
7878- eval "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
7979- echo
8080- fi
8282+ if false; then
8383+ # Install homebrew and use it to install basic packages/apps
8484+ if ! command -v brew &>/dev/null && \
8585+ confirm "'brew' command not found. Install it? "
8686+ then
8787+ eval "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
8888+ echo
8989+ fi
81908282- if ! brew bundle --global check && \
8383- confirm "Install packages from Brewfile? "
8484- then
8585- brew bundle --global install
8686- echo
9191+ if ! brew bundle --global check && \
9292+ confirm "Install packages from Brewfile? "
9393+ then
9494+ brew bundle --global install
9595+ echo
9696+ fi
8797 fi
88988999 if confirm "Update fish auto-generated completions?"; then
+5
README.md
···88yadm clone --bootstrap https://github.com/ian-h-chamberlain/dotfiles.git
99```
10101111+1. Install Lix
1212+2. `nix develop 'github:ian-h-chamberlain/dotfiles?dir=.config'`
1313+3. Clone dotfiles repo to `~` and proceed with the rest of bootstrapping
1414+ `YADM_BOOTSTRAP_FULL=1 yadm clone --bootstrap https://github.com/ian-h-chamberlain/dotfiles`
1515+1116## High level directory structure
12171318Some commonly-known files/directories omitted for brevity. This list focuses on more unusual/custom configuration and less on documenting more common config files.