{ config, pkgs, lib, user, ... }: { home-manager.users.${user.username} = { programs.zsh = { enable = true; enableCompletion = true; dotDir = "${config.xdg.configHome}/zsh"; # Now correct: inside Home Manager scope oh-my-zsh = { enable = true; theme = ""; plugins = [ "git" "sudo" "extract" "colored-man-pages" "command-not-found" "history" "docker" "kubectl" ]; }; autosuggestion.enable = true; syntaxHighlighting.enable = true; zshoptions = [ "AUTO_CD" ]; }; }; }