feat: make ghostty command only appear on linux
This commit is contained in:
1 parent
01a2f55355
commit
d1643f6bf3
2 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
|
||||
@@ -98,6 +98,22 @@
|
||||
path = "${config.home.homeDirectory}/.config/jj/config.toml";
|
||||
};
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
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.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||
command = "nu";
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
|
||||
Reference in new issue
Block a user