Set personal git identity, fix zshrc theme, improve bw-ssh service

- config/git/gitconfig: real name, email, and SSH signing key
- config/shell/zshrc: fix typo 'powerlevel10zsh' → 'powerlevel10k'
- config/systemd/bw-ssh-keys.service: depend on graphical-session
  instead of network (ssh-agent starts with session); add explicit
  PATH so bw and jq are found; add RemainAfterExit=yes
  (avoids restart loop on oneshot services)
This commit is contained in:
2026-06-07 14:34:18 +10:00
parent 5a44aaecb0
commit c7845fd04d
3 changed files with 8 additions and 6 deletions

6
config/git/gitconfig Normal file → Executable file
View File

@@ -1,7 +1,7 @@
[user] [user]
name = Your Name name = Julian Prester
email = your.email@example.com email = hi@julianprester.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... your-public-key-comment signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO14cVPAkygA4OIMmQ1PiBBQ9mQ+nY5n7XKJA0jD9ZOl github@julianprester.com
[init] [init]
defaultBranch = main defaultBranch = main
[credential "https://git.julianprester.com"] [credential "https://git.julianprester.com"]

2
config/shell/zshrc Normal file → Executable file
View File

@@ -24,7 +24,7 @@ export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# ---- Oh My Zsh ---- # ---- Oh My Zsh ----
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10zsh" ZSH_THEME="powerlevel10k/powerlevel10k"
# ---- Plugins ---- # ---- Plugins ----
plugins=(git zsh-autosuggestions) plugins=(git zsh-autosuggestions)

6
config/systemd/bw-ssh-keys.service Normal file → Executable file
View File

@@ -1,11 +1,13 @@
[Unit] [Unit]
Description=Load Bitwarden SSH keys into ssh-agent Description=Load Bitwarden SSH keys into ssh-agent
After=network-online.target After=graphical-session.target
Wants=network-online.target Wants=graphical-session.target
[Service] [Service]
Type=oneshot Type=oneshot
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
ExecStart=%h/.local/bin/bw-load-ssh.sh ExecStart=%h/.local/bin/bw-load-ssh.sh
RemainAfterExit=yes
Restart=on-failure Restart=on-failure
RestartSec=30 RestartSec=30