diff --git a/home/base/desktop/kitty.nix b/home/base/desktop/kitty.nix index 70da8d48..23093da0 100644 --- a/home/base/desktop/kitty.nix +++ b/home/base/desktop/kitty.nix @@ -13,9 +13,9 @@ macos_option_as_alt = true; # Option key acts as Alt on macOS scrollback_lines = 10000; enable_audio_bell = false; - } // lib.mkIf pkgs.stdenv.isDarwin { + } // (if pkgs.stdenv.isDarwin then { # macOS specific settings, force kitty to use nushell as default shell shell = "/run/current-system/sw/bin/nu"; - }; + } else {}); }; }