fix: accidentally uninstalled alacritty

This commit is contained in:
Jalil David Salamé Messina 2025-03-11 00:00:05 +01:00 committed by Jalil David Salamé Messina
parent 081d8cbe83
commit 6bf41fd880

View file

@ -108,13 +108,15 @@ in
return config
'';
};
alacritty.settings = {
alacritty = {
enable = cfg.terminal == "alacritty";
# hide mouse when typing, this ensures I don't have to move the mouse when it hides text
mouse.hide_when_typing = true;
# Start zellij when it is enabled
terminal.shell = lib.mkIf (config.jhome.dev.enable && config.programs.zellij.enable) {
program = "${lib.getExe config.programs.zellij.package}";
settings = {
# hide mouse when typing, this ensures I don't have to move the mouse when it hides text
mouse.hide_when_typing = true;
# Start zellij when it is enabled
terminal.shell = lib.mkIf (config.jhome.dev.enable && config.programs.zellij.enable) {
program = "${lib.getExe config.programs.zellij.package}";
};
};
};
zellij.enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in