blob: 30795f0fbcef75a348c03a082b07a3923ce5f7d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
config,
pkgs,
lib,
...
}:
{
options.homeapps.zsh = {
enable = lib.mkEnableOption "Enable ZSH shell";
};
config = lib.mkIf config.homeapps.zsh.enable {
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
oh-my-zsh = {
enable = true;
theme = "dst";
plugins = [
"kitty"
"rust"
"screen"
"systemd"
"tmux"
"nmap"
"npm"
"ssh"
];
};
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}
];
};
};
}
|