From 0c2e0ef2ece9b31c7459ed576ad34838917c555a Mon Sep 17 00:00:00 2001 From: Henro Veijer Date: Wed, 25 Feb 2026 21:18:46 +0100 Subject: [PATCH] Another rewrite --- henrovnix_ok/home/dev/zsh.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/henrovnix_ok/home/dev/zsh.nix b/henrovnix_ok/home/dev/zsh.nix index a63fbcc7d..599a13469 100644 --- a/henrovnix_ok/home/dev/zsh.nix +++ b/henrovnix_ok/home/dev/zsh.nix @@ -5,18 +5,15 @@ flakeRoot, ... }: -let - repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf"; -in { programs.zsh = { enable = true; - syntaxHighlighting.enable = true; - autosuggestions.enable = true; enableCompletion = true; autocd = true; - dotDir = config.home.homeDirectory; - # ---- Oh My Zsh ---- + + # Optional but recommended: keep zsh config in one dir (relative to $HOME) + dotDir = ".config/zsh"; + oh-my-zsh = { enable = true; theme = ""; @@ -29,10 +26,10 @@ in "history" "docker" "kubectl" - # IMPORTANT: these should be last - "zsh-autosuggestions" - "zsh-syntax-highlighting" ]; }; + + autosuggestion.enable = true; + syntaxHighlighting.enable = true; }; }