24 lines
399 B
Nix
24 lines
399 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.home.shell.zsh;
|
|
in
|
|
{
|
|
options.home.shell.zsh = {
|
|
enable = mkEnableOption "System zsh service";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "af-magic";
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|