mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-19 15:31:22 +02:00
fix: kitty + nushell on macOS
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user