diff options
| author | Simen A. W. Olsen <cobraz@Simens-MacBook-Pro-4.local> | 2026-03-21 13:49:10 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <cobraz@Simens-MacBook-Pro-4.local> | 2026-03-21 13:49:10 +0100 |
| commit | 1fd92fcaf3aadea1e9509f859340f57100218c41 (patch) | |
| tree | db88f38eef0b04000cfd7affbbd5ab9175027f08 /bootstrap.sh | |
| parent | 95083ca2ac000adeaaaa9a14c8e64b015979d0b1 (diff) | |
| download | dotfiles-1fd92fcaf3aadea1e9509f859340f57100218c41.tar.gz dotfiles-1fd92fcaf3aadea1e9509f859340f57100218c41.zip | |
refactor: consolidate dotfiles into declarative Nix modules
- Remove nvim git submodule, use flake input instead
- Inline all shell configurations into Nix modules
- Remove legacy bootstrap.sh and macos/macos script
- Add NixOS system configuration support
- Update documentation with platform-specific setup
- Add claude-code to macOS Homebrew
- Remove stow-based dotfile management approach
Diffstat (limited to 'bootstrap.sh')
| -rwxr-xr-x | bootstrap.sh | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/bootstrap.sh b/bootstrap.sh deleted file mode 100755 index aa5e103..0000000 --- a/bootstrap.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -# Install Homebrew if not installed -if ! command -v brew >/dev/null 2>&1; then - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -fi - -# Install packages from Brewfile -cd apps && brew bundle - -# Install Cargos -cargo install \ - git-trim \ - starship \ - twm - -# Create symlinks using stow -cd .. -stow_folders=(zsh git starship tmux nvim ghostty) -for folder in "${stow_folders[@]}"; do - echo "stow $folder" - stow -t $HOME -D $folder - stow -t $HOME $folder -done - -# Install TPM for tmux -if [ ! -d "$HOME/.tmux/plugins/tpm" ]; then - git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm -fi - -# Configure macOS defaults with countdown -echo "Setting MacOS defaults in 10 seconds. Press CTRL+C to abort..." -sleep 10 -echo "" - -# Configure macOS defaults -sh macos/macos - -# Setup Zsh -if [ ! -d "$HOME/.zsh-repos/znap" ]; then - git clone --depth 1 https://github.com/marlonrichert/zsh-snap.git ~/.zsh-repos/znap -fi - -echo "Setup complete! Please restart your terminal." |
