34 lines
707 B
Nix
34 lines
707 B
Nix
{ config, pkgs, lib, flakeRoot, ... }:
|
|
let
|
|
repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf";
|
|
in
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
autosuggestions.enable = true;
|
|
enableCompletion = true;
|
|
autocd = true;
|
|
dotDir = config.home.homeDirectory;
|
|
# ---- Oh My Zsh ----
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "";
|
|
plugins = [
|
|
"git"
|
|
"sudo"
|
|
"extract"
|
|
"colored-man-pages"
|
|
"command-not-found"
|
|
"history"
|
|
"docker"
|
|
"kubectl"
|
|
# IMPORTANT: these should be last
|
|
"zsh-autosuggestions"
|
|
"zsh-syntax-highlighting"
|
|
];
|
|
};
|
|
'';
|
|
};
|
|
}
|