From 6bf41fd8808d2c29eb15b4b723bc241887f1ae18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Tue, 11 Mar 2025 00:00:05 +0100 Subject: [PATCH] fix: accidentally uninstalled alacritty --- home/gui/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/home/gui/default.nix b/home/gui/default.nix index 824fb99..10948b2 100644 --- a/home/gui/default.nix +++ b/home/gui/default.nix @@ -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