From 1ab318b6db14fa95198270bd9a909cc6ae625eab Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 16 Jul 2023 16:34:34 +0800 Subject: [PATCH] fix: kitty + nushell on macOS --- home/base/desktop/kitty.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/home/base/desktop/kitty.nix b/home/base/desktop/kitty.nix index d0afcec3..2896ac60 100644 --- a/home/base/desktop/kitty.nix +++ b/home/base/desktop/kitty.nix @@ -1,17 +1,20 @@ -{ ... }: { +{ lib, pkgs, ... }: { programs.kitty = { enable = true; theme = "Catppuccin-Mocha"; - # darwinLaunchOptions = {}; font = { - name = " JetBrainsMono Nerd Font"; + name = "JetBrainsMono Nerd Font"; + size = 14; }; settings = { - background_opacity = "0.92"; + background_opacity = "0.95"; macos_option_as_alt = true; # Option key acts as Alt on macOS scrollback_lines = 10000; enable_audio_bell = false; + } // lib.mkIf pkgs.stdenv.isDarwin { + # macOS specific settings, force kitty to use nushell as default shell + shell = "/run/current-system/sw/bin/nu"; }; }; }