split zsh config into several nix files

This commit is contained in:
2024-11-15 09:58:31 -05:00
parent 5cd144ef33
commit 6d9e054a7a
9 changed files with 111 additions and 111 deletions

View File

@@ -0,0 +1,30 @@
{ lib, config, ... }:
{
options = {
movOpts.envConfig.zshConfig.shellOptions.enable = lib.mkEnableOption "enables my default shell settings";
};
config = lib.mkIf config.movOpts.envConfig.zshConfig.shellOptions.enable {
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "fzf" ];
};
enableCompletion = true;
history = {
path = "$HOME/.zsh_history";
save = 10000;
size = 10000;
share = true;
};
};
};
}