setup-env #1

Merged
noah.knegt merged 28 commits from setup-env into main 2025-02-28 21:49:32 +01:00
11 changed files with 161 additions and 21 deletions
Showing only changes of commit 7fc2bf7b80 - Show all commits

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;
}; };
} }