Files
Nixos/modules/system/options/apps/zsh.nix
T

26 lines
428 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.os.shell.zsh;
in
{
options.os.shell.zsh = {
enable = mkEnableOption "System zsh service";
};
config = mkIf cfg.enable {
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
};
programs.neovim = {
enable = true;
defaultEditor = true;
};
};
}