1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Update default.nix

Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
This commit is contained in:
Trevor Opiyo 2024-11-05 08:16:35 -06:00 committed by GitHub
parent 44c88484c4
commit 897fc37c47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,8 +117,11 @@ in
config = mkIf cfg.enable {
warnings = mkIf (cfg.enableFastSyntaxHighlighting && cfg.enableSyntaxHighlighting) [
"zsh-fast-syntax-highlighting and zsh-syntax-highlighting are mutually exclusive. Disable one of them."
assertions = [
{
assertion = !(cfg.enableSyntaxHighlighting && cfg.enableFastSyntaxHighlighting);
message = "zsh-syntax-highlighting and zsh-fast-syntax-highlighting are mutually exclusive, please disable one of them.";
}
];
environment.systemPackages =
[ # Include zsh package