Files
nixos/Droidnix/generated/system/applications/terminal_shell/zsh.nix
T
2026-03-07 23:10:09 +01:00

34 lines
648 B
Nix

{
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" ];
};
};
}