diff --git a/home/gui/default.nix b/home/gui/default.nix index 10948b2..824fb99 100644 --- a/home/gui/default.nix +++ b/home/gui/default.nix @@ -108,15 +108,13 @@ in return config ''; }; - alacritty = { + alacritty.settings = { enable = cfg.terminal == "alacritty"; - 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}"; - }; + # 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