blob: 508526368240649d6f0a51736636d5b1b5b93392 (
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
|
{ config, lib, pkgs, ... }:
let
cfg = config.modules.zsh;
in
{
options.modules.zsh = {
enable = lib.mkEnableOption "zsh";
};
config = {
home.packages = with pkgs; [
zsh
oh-my-zsh
zsh-autosuggestions
];
programs.zsh = lib.mkIf cfg.enable {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
oh-my-zsh = {
enable = true;
theme = "lambda";
};
};
};
}
|