Add antidote config

This commit is contained in:
2025-02-27 18:42:07 +01:00
parent d310ab19d3
commit 7fc2bf7b80
3 changed files with 38 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
{ pkgs, inputs, ... }:
{
programs.zsh.antidote = {
enable = true;
plugins = [
# popular fish-like plugins
"mattmc3/zfunctions"
"zsh-users/zsh-autosuggestions"
"zdharma-continuum/fast-syntax-highlighting kind:defer"
"zsh-users/zsh-history-substring-search"
# set up Zsh completions with plugins
"mattmc3/ez-compinit"
"zsh-users/zsh-completions kind:fpath path:src"
# frameworks like oh-my-zsh are supported
"getantidote/use-omz" # handle OMZ dependencies
"ohmyzsh/ohmyzsh path:lib" # load OMZ's library
# List of plugins
"ohmyzsh/ohmyzsh path:plugins/extract"
"ohmyzsh/ohmyzsh path:plugins/git"
"ohmyzsh/ohmyzsh path:plugins/git-auto-fetch"
"ohmyzsh/ohmyzsh path:plugins/gitignore"
"ohmyzsh/ohmyzsh path:plugins/jsontools"
"ohmyzsh/ohmyzsh path:plugins/sudo"
"ohmyzsh/ohmyzsh path:plugins/tmux"
];
};
}

View File

@@ -1,5 +1,8 @@
{ ... }: { ... }:
{ {
imports = [ ./zsh.nix ]; imports = [
./antidote.nix
./zsh.nix
];
} }

View File

@@ -3,5 +3,7 @@
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
autosuggestion.enable = true;
}; };
} }