Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dot_ssh/.chezmoiattrs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* private
19 changes: 19 additions & 0 deletions dot_ssh/config.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{- if eq .chezmoi.os "darwin" }}
Include ~/.ssh/1Password/config

Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"

{{- end }}

Host *
CanonicalizeHostname yes
CanonicalDomains halosaur-major.ts.net
CanonicalizeMaxDots 0

Host *.halosaur-major.ts.net
ForwardAgent yes

Host echo-dev.local
HostName echo-dev.local
User admin
12 changes: 12 additions & 0 deletions run_install-packages.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ if [[ "$os" == "darwin" ]]; then
[[ -r "$HOME/.fzf.zsh" ]] || "$(brew --prefix)/opt/fzf/install" --key-bindings --completion --no-update-rc || true
install_cargo_packages
install_uv_tools
{{ if .full_setup }}
brew install code-server 2>/dev/null || true
{{ end }}
exit 0
fi

Expand Down Expand Up @@ -285,6 +288,13 @@ install_bandwhich_user() {
export PATH="$HOME/.local/bin:$PATH"
}

install_code_server_user() {
command -v code-server >/dev/null 2>&1 && return 0
command -v curl >/dev/null 2>&1 || return 0
curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone || true
export PATH="$HOME/.local/lib/code-server-*/bin:$PATH"
}

install_procs_user() {
command -v procs >/dev/null 2>&1 && return 0
command -v curl >/dev/null 2>&1 || return 0
Expand Down Expand Up @@ -393,6 +403,8 @@ fi
install_duf_user
install_bandwhich_user
install_procs_user
install_code_server_user
systemctl --user enable --now code-server 2>/dev/null || true
{{ end -}}

# ---- Post-package-manager installs (GitHub releases / official installers) ----
Expand Down