Pseudo initial

This commit is contained in:
Felipe M 2024-01-25 09:47:54 +01:00
parent 7e204a3d9f
commit cdfac4d089
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
13 changed files with 1312 additions and 24 deletions

View file

@ -1,7 +1,71 @@
# CLI
brew "act"
brew "ansible"
brew "ffmpeg"
brew "gh"
brew "go"
brew "golangci-lint"
brew "goreleaser/tap/goreleaser"
brew "grep" # Most recent grep
brew "httpie"
brew "jq"
brew "mas"
brew "mosh"
brew "ncdu"
brew "nodejs"
brew "nvim"
brew "pinentry-mac"
brew "pipx"
brew "watch"
brew "yadm"
# Cask
brew "raycast"
brew "visual-studio-code"
cask "arc"
cask "1password"
# cask "adobe-creative-cloud" # Just for testing Photoshop things
cask "appcleaner"
cask "caffeine"
cask "dash"
cask "element"
cask "fantastical"
# cask "firefox"
cask "gpg-suite"
cask "hammerspoon"
# cask "iterm2" # Downloaded beta version manually
cask "notion"
# cask "obsidian"
cask "orbstack"
cask "alfred"
cask "secretive"
cask "steam"
cask "synology-drive"
cask "tableplus"
cask "telegram"
cask "visual-studio-code"
cask "vlc"
# tap "guumaster/tap" # Wasn't using it
# brew "hostctl"
# Fonts
tap "homebrew/cask-fonts"
cask "font-jetbrains-mono"
# Bun
tap "oven-sh/bun"
brew "bun"
# AI
cask "diffusionbee"
# Bandsnatch (download from bandcamp)
brew "ovyerus/tap/bandsnatch"
# Development dependencies
brew "imagemagick" # Required by lektor (installed using pipx)
# Applications from App Store
mas "Pixelmator Pro", id: 1289583905
mas "Tailscale", id: 1475387142
mas "virtualOS", id: 1614659226
mas "Xcode", id: 497799835

1088
.dotfiles/Brewfile.lock.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,17 +0,0 @@
#!/bin/sh
sudo xcode-select --install
echo "Press [ENTER] when install has finished"
read
# install homebrew if it's missing
if ! command -v brew >/dev/null 2>&1; then
echo "Installing homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
if [ -f "$HOME/.Brewfile" ]; then
echo "Updating homebrew bundle"
brew bundle --global
fi

11
.dotfiles/bootstrap/00_xcode.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
# Check if Xcode CLI tools are installed. Install if not.
if [ "$(xcode-select --version)" == "" ]; then
sudo xcode-select --install
sudo xcodebuild -license accept
echo "Press [ENTER] when install has finished"
read
fi

12
.dotfiles/bootstrap/10_brew.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# install homebrew if it's missing
if ! command -v brew >/dev/null 2>&1; then
echo "Installing homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
if [ -f "$HOME/.Brewfile" ]; then
echo "Updating homebrew bundle"
brew bundle --global
fi

View file

View file

@ -8,11 +8,11 @@ defaults write com.apple.dock "autohide" -bool "true" #&& killall Dock
defaults write com.apple.dock "autohide-delay" -float "0" #&& killall Dock
# Show only active applications
defaults write com.apple.dock "static-only" -bool "true" #&& killall Dock
defaults write com.apple.dock "static-only" -bool "false" #&& killall Dock
# <Workspaces>
# Disable auto-switch
defaults write com.apple.dock workspaces-auto-swoosh -bool NO #&& killall Dock
# Enable auto-switch to most recent app
defaults write com.apple.dock workspaces-auto-swoosh -bool YES #&& killall Dock
# Save in JPEG
defaults write com.apple.screencapture "type" -string "jpg"
@ -64,7 +64,7 @@ defaults write -g com.apple.swipescrolldirection -bool NO #&& killall SystemUISe
# <Keyboard>
# Repeat characters on key hold
defaults write NSGlobalDomain "ApplePressAndHoldEnabled" -bool "false"
defaults write NSGlobalDomain "ApplePressAndHoldEnabled" -bool "false"
# <Time machine>
# Don't offer disks for backup
@ -78,4 +78,4 @@ defaults write com.apple.Music "userWantsPlaybackNotifications" -bool "false" #&
killall Dock 2> /dev/null
killall SystemUIServer 2> /dev/null
killall Finder 2> /dev/null
killall Music 2> /dev/null
killall Music 2> /dev/null

8
.dotfiles/bootstrap/81_pipx.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
pipx ensurepath
pipx install yt-dlp
pipx install lektor
pipx reinstall-all

7
.dotfiles/bootstrap/85_nvim.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
# Install nvchad
if [ ! -d "$HOME/.config/nvim" ]; then
echo "Installing nvchad"
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
fi

View file

@ -0,0 +1,7 @@
#!/bin/bash
# Install oh-my-zsh if the folder does not exist
if [ ! -d "$HOME/.oh-my-zsh" ]; then
echo "Installing oh-my-zsh"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi

View file

@ -0,0 +1,7 @@
#!/bin/bash
# Handled by brewfile
# mas install 1475387142 # Tailscale
# mas install 497799835 # Xcode
# mas install 1289583905 # Pixelmator Pro