feat: make ghostty command only appear on linux
This commit is contained in:
1 parent
01a2f55355
commit
f3bd31bb7c
3 files changed
+16
-9
No files matched your search
@@ -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
|
|
||||||
@@ -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
|
||||||
@@ -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"] ''
|
||||||
|
|||||||
Reference in new issue
Block a user