feat: macOS - adjust terminal's font size, starship for zsh, squirrel input method

This commit is contained in:
Ryan Yin
2023-07-17 15:59:31 +08:00
parent de1bc12b1b
commit 7b482f8cfa
5 changed files with 12 additions and 5 deletions

View File

@@ -64,7 +64,7 @@
family: JetBrainsMono Nerd Font
'' + (if pkgs.stdenv.isDarwin then ''
# Point size
size: 16
size: 14
shell: # force nushell as default shell on macOS
program: /run/current-system/sw/bin/nu
'' else ''

View File

@@ -5,7 +5,7 @@
font = {
name = "JetBrainsMono Nerd Font";
# use different font size on macOS
size = if pkgs.stdenv.isDarwin then 16 else 13;
size = if pkgs.stdenv.isDarwin then 14 else 13;
};
settings = {

View File

@@ -1,8 +1,9 @@
{ config, ... }: {
{ ... }: {
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
enableNushellIntegration = true;
settings = {