From 98b265a8d009243fbcd4da3df0c11bf0dc4a6380 Mon Sep 17 00:00:00 2001 From: Bastian Gruber Date: Wed, 28 Jan 2026 14:33:08 -0400 Subject: [PATCH] Update rufus setup --- .chezmoi.toml.tmpl | 2 +- dot_config/fish/config.fish.tmpl | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index 09d43fe..f324ede 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -5,7 +5,7 @@ {{- if eq $hostname "maple" }} machine = "server" editor = "hx" -{{- else if eq $hostname "archbook" }} +{{- else if eq $hostname "rufus" }} machine = "laptop" editor = "hx" {{- else if eq $os "darwin" }} diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl index dfbb01d..b93b7a1 100644 --- a/dot_config/fish/config.fish.tmpl +++ b/dot_config/fish/config.fish.tmpl @@ -19,7 +19,10 @@ fish_add_path -g ~/.local/bin # macOS-specific: Homebrew paths fish_add_path -g /opt/homebrew/bin fish_add_path -g /opt/homebrew/sbin -# SSH agent socket (systemd user service) +{{- end }} + +{{- if or (eq .machine "laptop") (eq .machine "macbook") }} +# SSH agent socket (systemd user service on Linux, launchd on macOS) set -gx SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket {{- end }}