mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 09:02:40 +02:00
fix: kitty + nushell on macOS
This commit is contained in:
@@ -1,17 +1,20 @@
|
|||||||
{ ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "Catppuccin-Mocha";
|
theme = "Catppuccin-Mocha";
|
||||||
# darwinLaunchOptions = {};
|
|
||||||
font = {
|
font = {
|
||||||
name = " JetBrainsMono Nerd Font";
|
name = "JetBrainsMono Nerd Font";
|
||||||
|
size = 14;
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = "0.92";
|
background_opacity = "0.95";
|
||||||
macos_option_as_alt = true; # Option key acts as Alt on macOS
|
macos_option_as_alt = true; # Option key acts as Alt on macOS
|
||||||
scrollback_lines = 10000;
|
scrollback_lines = 10000;
|
||||||
enable_audio_bell = false;
|
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