From c9babb6abf9050e64776e257227ba512c943bc8a Mon Sep 17 00:00:00 2001 From: David Ham <64705+davidham@users.noreply.github.com> Date: Wed, 20 May 2026 10:12:48 -0500 Subject: [PATCH 1/3] feat(import): import ~/.ssh/config Tiny SSH client config (6 lines: AddKeysToAgent, UseKeychain, IdentityFile for github.com). No work hostnames; fully portable to a personal machine. home/ssh/config -> ~/.ssh/config (Dotbot creates the symlink inside the existing ~/.ssh/ directory; surrounding key files are untouched). --- home/ssh/config | 6 ++++++ install.conf.yaml | 1 + 2 files changed, 7 insertions(+) create mode 100644 home/ssh/config diff --git a/home/ssh/config b/home/ssh/config new file mode 100644 index 0000000..04f4840 --- /dev/null +++ b/home/ssh/config @@ -0,0 +1,6 @@ +Host github.com + AddKeysToAgent yes + UseKeychain yes + IgnoreUnknown UseKeychain + IdentityFile ~/.ssh/id_ed25519 + User git diff --git a/install.conf.yaml b/install.conf.yaml index 786633c..e6c9dae 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -14,6 +14,7 @@ force: true ~/.editorconfig: home/editorconfig ~/.yarnrc.yml: home/yarnrc.yml + ~/.ssh/config: home/ssh/config ~/.config/git/config: xdg/git/config ~/.config/git/attributes: xdg/git/attributes From 328144613988d224f21c2842d6009b1a0fe47d19 Mon Sep 17 00:00:00 2001 From: David Ham <64705+davidham@users.noreply.github.com> Date: Wed, 20 May 2026 10:14:57 -0500 Subject: [PATCH 2/3] feat(import): import ~/.config/nix/nix.conf One-line nix config enabling experimental nix-command and flakes features. Travels regardless of whether you go all-in on Nix later -- the setting itself is portable shorthand for 'modern Nix UX please.' --- install.conf.yaml | 1 + xdg/nix/nix.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 xdg/nix/nix.conf diff --git a/install.conf.yaml b/install.conf.yaml index e6c9dae..7941dbf 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -27,6 +27,7 @@ ~/.config/zellij/config.kdl: xdg/zellij/config.kdl ~/.config/direnv/direnv.toml: xdg/direnv/direnv.toml ~/.config/direnv/direnvrc: xdg/direnv/direnvrc + ~/.config/nix/nix.conf: xdg/nix/nix.conf - shell: - [git submodule update --init --recursive, Installing submodules] diff --git a/xdg/nix/nix.conf b/xdg/nix/nix.conf new file mode 100644 index 0000000..c7d7291 --- /dev/null +++ b/xdg/nix/nix.conf @@ -0,0 +1 @@ +experimental-features = nix-command flakes From 50acffa25f8b56321d5c45c4baba845226dbbb3a Mon Sep 17 00:00:00 2001 From: David Ham <64705+davidham@users.noreply.github.com> Date: Wed, 20 May 2026 10:15:32 -0500 Subject: [PATCH 3/3] feat(import): import ~/.config/gh/config.yml GitHub CLI preferences (notably 'co' alias for 'pr checkout'). Skips hosts.yml -- that file holds OAuth tokens and stays out of the repo. gh auth state is unaffected because hosts.yml is unchanged. --- install.conf.yaml | 1 + xdg/gh/config.yml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 xdg/gh/config.yml diff --git a/install.conf.yaml b/install.conf.yaml index 7941dbf..637231b 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -28,6 +28,7 @@ ~/.config/direnv/direnv.toml: xdg/direnv/direnv.toml ~/.config/direnv/direnvrc: xdg/direnv/direnvrc ~/.config/nix/nix.conf: xdg/nix/nix.conf + ~/.config/gh/config.yml: xdg/gh/config.yml - shell: - [git submodule update --init --recursive, Installing submodules] diff --git a/xdg/gh/config.yml b/xdg/gh/config.yml new file mode 100644 index 0000000..5d14b83 --- /dev/null +++ b/xdg/gh/config.yml @@ -0,0 +1,17 @@ +# The current version of the config schema +version: 1 +# What protocol to use when performing git operations. Supported values: ssh, https +git_protocol: https +# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment. +editor: +# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled +prompt: enabled +# A pager program to send command output to, e.g. "less". If blank, will refer to environment. Set the value to "cat" to disable the pager. +pager: +# Aliases allow you to create nicknames for gh commands +aliases: + co: pr checkout +# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport. +http_unix_socket: +# What web browser gh should use when opening URLs. If blank, will refer to environment. +browser: