From 186356854bd5d35a472636ef8309f25efc9252f7 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 12 Mar 2026 00:29:50 +0800 Subject: [PATCH] chore: zsh dotDir upate --- home/darwin/shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/darwin/shell.nix b/home/darwin/shell.nix index 45cfedd0..07e5e83c 100644 --- a/home/darwin/shell.nix +++ b/home/darwin/shell.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ config, lib, ... }: let envExtra = '' export PATH="$PATH:/opt/homebrew/bin:/usr/local/bin" @@ -34,6 +34,7 @@ in }; programs.zsh = { enable = true; + dotDir = "${config.xdg.configHome}/zsh"; inherit envExtra initContent; }; }