cmc/dotfiles

Using GNU Stow to manage my dotfiles.

clone: git clone https://gitbay.org/cmc/dotfiles.git

37e2a70e6bb1b2fa5aac2971fb6ca69ca844551a

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-04-15T23:15:02Z

fix: resolve multiple server names in default.conf and multiple 443 blocks in ao
 common/ssh/.ssh/config                               |  6 +++---
 common/zsh/.zshrc                                    |  9 +++++++++
 .../{no-ssl.default.conf => .no-ssl.default.conf}    |  0
 linux/nginx/etc/nginx/conf.d/ao.conf                 | 20 ++++++--------------
 linux/nginx/etc/nginx/conf.d/default.conf            | 17 -----------------
 5 files changed, 18 insertions(+), 34 deletions(-)

diff --git a/common/ssh/.ssh/config b/common/ssh/.ssh/config
index 2300f0d..241f6c2 100644
--- a/common/ssh/.ssh/config
+++ b/common/ssh/.ssh/config
@@ -11,9 +11,9 @@ Host hutch
   HostName 159.203.91.165
   Port 22
 Host *
-  #AddKeysToAgent yes
-  #UseKeychain yes
-  #IdentityFile ~/.ssh/id_ed25519
+  AddKeysToAgent yes
+  UseKeychain yes
+  IdentityFile ~/.ssh/id_ed25519
   #ControlMaster auto
   #ControlPath ~/.ssh/master-%r@%h:%p
   #ControlPersist 300
diff --git a/common/zsh/.zshrc b/common/zsh/.zshrc
index 9cba6bf..930ee3b 100644
--- a/common/zsh/.zshrc
+++ b/common/zsh/.zshrc
@@ -144,3 +144,12 @@ ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
 # zoxide
 eval "$(zoxide init zsh)"
 
+
+# bun completions
+[ -s "/Users/cmc/.bun/_bun" ] && source "/Users/cmc/.bun/_bun"
+
+# bun
+export BUN_INSTALL="$HOME/.bun"
+export PATH="$BUN_INSTALL/bin:$PATH"
+
+alias claude-mem='/Users/cmc/.bun/bin/bun "/Users/cmc/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"'
diff --git a/linux/nginx/etc/nginx/conf.d/no-ssl.default.conf b/linux/nginx/etc/nginx/conf.d/.no-ssl.default.conf
similarity index 100%
rename from linux/nginx/etc/nginx/conf.d/no-ssl.default.conf
rename to linux/nginx/etc/nginx/conf.d/.no-ssl.default.conf
diff --git a/linux/nginx/etc/nginx/conf.d/ao.conf b/linux/nginx/etc/nginx/conf.d/ao.conf
index 31e2087..588bc61 100644
--- a/linux/nginx/etc/nginx/conf.d/ao.conf
+++ b/linux/nginx/etc/nginx/conf.d/ao.conf
@@ -2,7 +2,12 @@ server {
 	listen [::]:443 ssl;
 	listen 443 ssl;
 	http2 on;
-	server_name ao.zerolabs.sh;
+	server_name ao.zerolabs.sh ao.cleberg.net;
+
+	if ($host = ao.cleberg.net) {
+		return 301 https://ao.zerolabs.sh$request_uri;
+	}
+
 	add_header Onion-Location "http://7lyqrn4ofxdq7lfporviu44zpc42wooh2bqazfhvpscgwby2vcwldzad.onion$request_uri" always;
 	include custom.d/tls/ssl_engine.conf;
 	include custom.d/tls/certificate_files.conf;
@@ -29,16 +34,3 @@ server {
     server_name ao.cleberg.net;
     return 301 https://ao.zerolabs.sh$request_uri;
 }
-
-server {
-    listen 443 ssl;
-    listen [::]:443 ssl;
-    http2 on;
-    server_name ao.cleberg.net;
-
-    include custom.d/tls/ssl_engine.conf;
-    include custom.d/tls/certificate_files.conf;
-    include custom.d/tls/policy_strict.conf;
-
-    return 301 https://ao.zerolabs.sh$request_uri;
-}
diff --git a/linux/nginx/etc/nginx/conf.d/default.conf b/linux/nginx/etc/nginx/conf.d/default.conf
deleted file mode 100644
index 3aa1909..0000000
--- a/linux/nginx/etc/nginx/conf.d/default.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-server {
-    listen [::]:443 ssl default_server;
-    listen 443 ssl default_server;
-    http2 on;
-    server_name _;
-    include custom.d/tls/ssl_engine.conf;
-    include custom.d/tls/certificate_files.conf;
-    include custom.d/tls/policy_strict.conf;
-    return 444;
-}
-
-server {
-    listen [::]:80;
-    listen 80;
-    server_name _;
-    return 444;
-}