feat: make ghostty command only appear on linux

This commit is contained in:
johannes committed 2026-08-18 17:31:52 +02:00
1 parent 01a2f55355
commit f3bd31bb7c
3 files changed
+16 -9

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
font-family = JetBrainsMono Nerd Font
theme = dark:Catppuccin Mocha,light:Catppuccin Latte
window-theme = ghostty
command = nu
background-blur = true
auto-update = check
macos-option-as-alt = left
shell-integration = nushell
shell-integration-features = ssh-env,ssh-terminfo
+3
View File
@@ -16,3 +16,6 @@ focus_pane_right = "alt+l"
# Direct pane creation (bypasses prefix) # Direct pane creation (bypasses prefix)
split_vertical = "alt+v" split_vertical = "alt+v"
split_horizontal = "alt+s" split_horizontal = "alt+s"
[experimental]
kitty_graphics = true
+13
View File
@@ -98,6 +98,19 @@
path = "${config.home.homeDirectory}/.config/jj/config.toml"; path = "${config.home.homeDirectory}/.config/jj/config.toml";
}; };
home.file.".config/ghostty/config".text = ''
font-family = JetBrainsMono Nerd Font
theme = dark:Catppuccin Mocha,light:Catppuccin Latte
window-theme = ghostty
background-blur = true
auto-update = check
macos-option-as-alt = left
shell-integration = nushell
shell-integration-features = ssh-env,ssh-terminfo
'' + lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
command = nu
'';
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] '' home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] ''