Add ghostty and settings

This commit is contained in:
Greg Hellings
2025-08-01 10:24:57 -05:00
parent ae1c1260d2
commit 47f2653d43
3 changed files with 39 additions and 0 deletions
+5
View File
@@ -21,6 +21,10 @@ in
"poetry" "poetry"
"podman" "podman"
"podman-compose" "podman-compose"
{
name = "postgresql@17";
restart_service = true;
}
"pytest" "pytest"
"qemu" "qemu"
]; ];
@@ -31,6 +35,7 @@ in
"bruno" "bruno"
"chromium" "chromium"
"dbeaver-community" "dbeaver-community"
"ghostty"
"firefox" "firefox"
"microsoft-teams" "microsoft-teams"
"onlyoffice" "onlyoffice"
+1
View File
@@ -7,6 +7,7 @@
./direnv.nix ./direnv.nix
./git.nix ./git.nix
./nushell.nix ./nushell.nix
./shell.nix
./ssh.nix ./ssh.nix
./tools.nix ./tools.nix
./vim ./vim
+33
View File
@@ -0,0 +1,33 @@
{ pkgs, ... }:
{
programs = {
ghostty = {
enable = true;
package = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;
settings = {
font-family = "Hacker";
theme = "Dracula";
scrollback-limit = "1000000";
window-save-state = "always";
keybind = [
"ctrl+n=new_window"
"ctrl+h=goto_split:left"
"ctrl+j=goto_split:down"
"ctrl+k=goto_split:up"
"ctrl+l=goto_split:right"
"ctrl+b>h=new_split:left"
"ctrl+b>j=new_split:down"
"ctrl+b>k=new_split:up"
"ctrl+b>l=new_split:right"
"ctrl+b>t=new_tab"
"ctrl+b>n=next_tab"
"ctrl+b>p=previous_tab"
];
};
};
};
}