enable zsh again

This commit is contained in:
Ivan Dimitrov 2023-11-18 11:51:24 +02:00
parent a1d612cc80
commit a9976ba2b6

View File

@ -1,13 +1,5 @@
{ pkgs, lib, config, ... }:
let
cfg = config.programs.shell;
in
{ pkgs, ... }:
{
options.programs.shell = {
enable = lib.mkEnableOption "shell";
};
config = lib.mkIf cfg.enable {
programs.zsh = {
enable = true;
syntaxHighlighting.enable = true;
@ -51,5 +43,4 @@ in
source "$HOME/.p10k.zsh"
'';
};
};
}