this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

More nix bootstrap changes

+39 -19
+5
.config/flake.nix
··· 47 47 system = "aarch64-darwin"; 48 48 user = "ianchamberlain"; 49 49 }; 50 + # NOTE: this is actually my older laptop despite the name 50 51 ichamberlain-mbp-2 = { 51 52 system = "x86_64-darwin"; 53 + user = "ichamberlain"; 54 + }; 55 + ichamberlain-mbp = { 56 + system = "aarch64-darwin"; 52 57 user = "ichamberlain"; 53 58 }; 54 59 prismo = {
+29 -19
.config/yadm/bootstrap
··· 17 17 18 18 # TODO: all these should be doable with nix-darwin instead 19 19 function setup_macos() { 20 - # Specify iTerm2 preferences directory 21 - #shellcheck disable=SC2088 22 - defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string '~/.config/iterm2/' 23 - defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true 20 + if command -q darwin-rebuild &>/dev/null; then 21 + darwin-rebuild switch 22 + else 23 + nix run flake:nix-darwin -- switch --flake ~/.config 24 + fi 24 25 25 - defaults write com.hegenberg.BetterTouchTool BTTAutoLoadPath ~/.config/btt/Default.bttpreset 26 + if false; then 27 + # Specify iTerm2 preferences directory 28 + #shellcheck disable=SC2088 29 + defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string '~/.config/iterm2/' 30 + defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true 31 + 32 + defaults write com.hegenberg.BetterTouchTool BTTAutoLoadPath ~/.config/btt/Default.bttpreset 26 33 27 - # Default file associations (eventually replace with sdwa) 28 - duti ~/.config/duti 34 + # Default file associations (eventually replace with sdwa) 35 + duti ~/.config/duti 36 + fi 29 37 30 38 echo "macOS-specific setup is complete!" 31 39 } ··· 71 79 setup_linux 72 80 fi 73 81 74 - # Install homebrew and use it to install basic packages/apps 75 - if ! command -v brew &>/dev/null && \ 76 - confirm "'brew' command not found. Install it? " 77 - then 78 - eval "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 79 - echo 80 - fi 82 + if false; then 83 + # Install homebrew and use it to install basic packages/apps 84 + if ! command -v brew &>/dev/null && \ 85 + confirm "'brew' command not found. Install it? " 86 + then 87 + eval "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 88 + echo 89 + fi 81 90 82 - if ! brew bundle --global check && \ 83 - confirm "Install packages from Brewfile? " 84 - then 85 - brew bundle --global install 86 - echo 91 + if ! brew bundle --global check && \ 92 + confirm "Install packages from Brewfile? " 93 + then 94 + brew bundle --global install 95 + echo 96 + fi 87 97 fi 88 98 89 99 if confirm "Update fish auto-generated completions?"; then
+5
README.md
··· 8 8 yadm clone --bootstrap https://github.com/ian-h-chamberlain/dotfiles.git 9 9 ``` 10 10 11 + 1. Install Lix 12 + 2. `nix develop 'github:ian-h-chamberlain/dotfiles?dir=.config'` 13 + 3. Clone dotfiles repo to `~` and proceed with the rest of bootstrapping 14 + `YADM_BOOTSTRAP_FULL=1 yadm clone --bootstrap https://github.com/ian-h-chamberlain/dotfiles` 15 + 11 16 ## High level directory structure 12 17 13 18 Some commonly-known files/directories omitted for brevity. This list focuses on more unusual/custom configuration and less on documenting more common config files.