diff --git a/modules/ghostty/default.nix b/modules/ghostty/default.nix new file mode 100644 index 0000000..0984a77 --- /dev/null +++ b/modules/ghostty/default.nix @@ -0,0 +1,34 @@ +{ + # TODO: Add custom theme: https://nix-community.github.io/home-manager/options.xhtml#opt-programs.ghostty.themes + programs.ghostty = { + enable = true; + enableFishIntegration = true; + installBatSyntax = true; + installVimSyntax = true; + systemd.enable = true; + clearDefaultKeybinds = false; # set to true after config is finished + settings = { + theme = "catppuccin-mocha"; + font-size = 15; + font = "VictorMono Nerd Font"; + keybind = [ + "ctrl+b>v=new_split:left" + "ctrl+b>s=new_split:down" + "ctrl+b>h=goto_split:left" + "ctrl+b>j=goto_split:down" + "ctrl+b>k=goto_split:up" + "ctrl+b>l=goto_split:right" + "ctrl+b>c=new_tab" + "ctrl+b>1=goto_tab:1" + "ctrl+b>2=goto_tab:2" + "ctrl+b>3=goto_tab:3" + "ctrl+b>4=goto_tab:4" + "ctrl+b>5=goto_tab:5" + "ctrl+b>6=goto_tab:6" + "ctrl+b>7=goto_tab:7" + "ctrl+b>8=goto_tab:8" + "ctrl+b>9=goto_tab:9" + ]; + }; + }; +}