Install ghostty outside of nix for linux target
This commit is contained in:
parent
42badaa5be
commit
d054152d36
@ -72,6 +72,27 @@ in
|
|||||||
viu
|
viu
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xdg.configFile = lib.mkMerge [
|
||||||
|
{
|
||||||
|
"ghostty/config" = {
|
||||||
|
text = ''
|
||||||
|
font-size = 10
|
||||||
|
theme = catppuccin-mocha
|
||||||
|
window-height = 9999
|
||||||
|
window-width = 9999
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
# TODO: Manual ghostty injection
|
||||||
|
programs.bat.syntaxes.ghostty = {
|
||||||
|
src = pkgs.ghostty;
|
||||||
|
file = "share/bat/syntaxes/ghostty.sublime-syntax";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.vim.plugins = lib.mkMerge [ pkgs.ghostty.vim ];
|
||||||
|
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
@ -101,23 +122,24 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ghostty = {
|
# Can't use the nixgl wrapper due to GTK libraries
|
||||||
enable = true;
|
# programs.ghostty = {
|
||||||
|
# enable = true;
|
||||||
|
|
||||||
installBatSyntax = true;
|
# installBatSyntax = true;
|
||||||
installVimSyntax = true;
|
# installVimSyntax = true;
|
||||||
enableZshIntegration = true;
|
# enableZshIntegration = true;
|
||||||
|
|
||||||
package = config.lib.nixGL.wrap pkgs.ghostty;
|
# package = config.lib.nixGL.wrap pkgs.ghostty;
|
||||||
|
|
||||||
settings = {
|
# settings = {
|
||||||
theme = "catppuccin-mocha";
|
# theme = "catppuccin-mocha";
|
||||||
font-size = 10;
|
# font-size = 10;
|
||||||
window-width = 9999;
|
# window-width = 9999;
|
||||||
window-height = 9999;
|
# window-height = 9999;
|
||||||
keybind = [ ];
|
# keybind = [ ];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.htop = {
|
programs.htop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -191,11 +213,6 @@ in
|
|||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# programs.spotify-player = {
|
|
||||||
# enable = true;
|
|
||||||
# package = config.lib.nixGL.wrap pkgs.spotify-player;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# TODO: Configure
|
# TODO: Configure
|
||||||
# programs.ssh = {
|
# programs.ssh = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
@ -248,6 +265,11 @@ in
|
|||||||
|
|
||||||
source <(kubectl completion zsh)
|
source <(kubectl completion zsh)
|
||||||
complete -C '/usr/local/bin/aws_completer' aws
|
complete -C '/usr/local/bin/aws_completer' aws
|
||||||
|
|
||||||
|
# Manual ghostty injection
|
||||||
|
if [[ -n $GHOSTTY_RESOURCES_DIR ]]; then
|
||||||
|
source "$GHOSTTY_RESOURCES_DIR"/shell-integration/zsh/ghostty-integration
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user