From 4f5dcbbc999cc5d84b22b843be062273c879d4f8 Mon Sep 17 00:00:00 2001 From: Alec Lomas Date: Fri, 4 Sep 2026 13:31:43 -0700 Subject: [PATCH] :heavy_minus_sign: remove 1password and dropbox --- .editorconfig | 3 +-- README.md | 7 +++++-- brew/Brewfile | 2 -- git/.gitconfig | 4 ++-- install.sh | 9 +++++++++ system/.env | 4 ++++ 6 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 79621be..a723244 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,5 +5,4 @@ charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true -indent_style = space -indent_size = 2 +indent_style = tab diff --git a/README.md b/README.md index 6268830..5881863 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,11 @@ ### Set up a new machine 1. Run `xcode-select --install` (or otherwise install `git`) -1. Install [1Password](https://1password.com/downloads/mac) -1. Configure the [1Password SSH Agent](https://developer.1password.com/docs/ssh) +1. Install [Strongbox](https://strongboxsafe.com/) via App Store +1. Configure and enable the [Strongbox SSH Agent](https://strongbox.reamaze.com/articles/ssh-agent) + - Run `ln -s ~/Library/Group\ Containers/group.strongbox.mac.mcguill/agent.sock ~/.strongbox/agent.sock` + - Run `SSH_AUTH_SOCK=~/.strongbox/agent.sock; export SSH_AUTH_SOCK;` + - Copy your git SSH public key to `~/.ssh/alomas-git.pub` to enable git signing 1. Run `git@github.com:lowmess/dotfiles.git` from the home directory 1. Run `sh ./install.sh` from within the dotfiles repo 1. Have fun setting up all those apps you just downloaded diff --git a/brew/Brewfile b/brew/Brewfile index 385696d..bd6f294 100644 --- a/brew/Brewfile +++ b/brew/Brewfile @@ -1,5 +1,4 @@ # install deps -brew "1password-cli" brew "antigen" brew "coreutils" brew "fnm" @@ -15,7 +14,6 @@ cask "alfred" cask "antinote" cask "dash" cask "discord" -cask "dropbox" cask "figma" cask "firefox" cask "font-fira-code" diff --git a/git/.gitconfig b/git/.gitconfig index 6db8ad7..9cdd380 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,7 +1,7 @@ [user] name = Alec Lomas email = alec@lowmess.com - signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJplrsJA4IbOMz9xncyG5IUAfIfiQcSLP1VIRt3foBEF + signingkey = ~/.ssh/alomas-git.pub [github] user = lowmess @@ -20,7 +20,7 @@ format = ssh [gpg "ssh"] - program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign" + allowedSignersFile = ~/.ssh/allowed_signers [diff] algorithm = histogram diff --git a/install.sh b/install.sh index 231b4ea..e34c15c 100644 --- a/install.sh +++ b/install.sh @@ -3,6 +3,15 @@ touch $HOME/.zshrc echo 'source $HOME/dotfiles/.zshrc' >> $HOME/.zshrc source $HOME/.zshrc +# create iCloud alias at root +ln -s ~/Library/Mobile\ Documents/com\~apple\~CloudDocs ~/iCloud + +# set screenshots folder to iCloud +defaults write com.apple.screencapture location ~/iCloud/Photos/Screenshots + +#create strongbox alias +ln -s ~/Library/Group\ Containers/group.strongbox.mac.mcguill/agent.sock ~/.strongbox/agent.sock + # install Homebrew & packages cd $HOME/dotfiles/brew sh ./brew.sh diff --git a/system/.env b/system/.env index a0fe0a7..207019f 100644 --- a/system/.env +++ b/system/.env @@ -22,3 +22,7 @@ export _Z_CMD="j" #fnm eval "$(fnm env --use-on-cd --shell zsh)" + +# enable strongbox ssh agent for git commit signing +SSH_AUTH_SOCK=~/.strongbox/agent.sock +export SSH_AUTH_SOCK -- 2.51.2