From 1fd92fcaf3aadea1e9509f859340f57100218c41 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Mar 2026 13:49:10 +0100 Subject: 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 --- bootstrap.sh | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 bootstrap.sh (limited to 'bootstrap.sh') 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." -- cgit v1.2.3