initial commit
This commit is contained in:
27
homemanager/terminal_emulators/ghostty.nix
Normal file
27
homemanager/terminal_emulators/ghostty.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
configHome = "${config.home.homeDirectory}/.config/dotfiles/homes/quirinecker";
|
||||
in
|
||||
{
|
||||
options = {
|
||||
modules.terminalEmulators.ghostty.enable = lib.mkEnableOption "ghostty";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.modules.terminalEmulators.ghostty.enable {
|
||||
home.packages = [
|
||||
pkgs.ghostty
|
||||
pkgs.nerd-fonts.profont
|
||||
pkgs.nerd-fonts.heavy-data
|
||||
pkgs.meslo-lgs-nf
|
||||
];
|
||||
xdg.configFile = {
|
||||
"ghostty/config".source =
|
||||
config.lib.file.mkOutOfStoreSymlink ./ghostty/ghostty;
|
||||
};
|
||||
};
|
||||
}
|
||||
80
homemanager/terminal_emulators/ghostty/config
Normal file
80
homemanager/terminal_emulators/ghostty/config
Normal file
@@ -0,0 +1,80 @@
|
||||
theme = Nord
|
||||
window-decoration = false
|
||||
gtk-tabs-location = hidden
|
||||
background-opacity = 0.8
|
||||
window-padding-x = 20
|
||||
window-padding-y = 20
|
||||
cursor-style = bar
|
||||
font-family = ProFont IIx Nerd Font
|
||||
# font-family-bold = MesloLGS NF Bold
|
||||
# font-family-italic = MesloLGS NF Italic
|
||||
# font-family-bold-italic = MesloLGS NF Bold Italic
|
||||
font-style = false
|
||||
font-feature = "ss01"
|
||||
font-feature = "ss02"
|
||||
font-feature = "ss03"
|
||||
font-feature = "ss04"
|
||||
font-feature = "-liga, -calt, -dlig"
|
||||
|
||||
shell-integration = fish
|
||||
shell-integration-features = no-cursor
|
||||
|
||||
keybind = clear
|
||||
keybind = ctrl+comma=open_config
|
||||
keybind = shift+insert=paste_from_selection
|
||||
keybind = ctrl+page_down=next_tab
|
||||
keybind = ctrl+shift+v=paste_from_clipboard
|
||||
keybind = ctrl+alt+up=goto_split:up
|
||||
keybind = ctrl+shift+a=select_all
|
||||
keybind = super+ctrl+shift+plus=equalize_splits
|
||||
keybind = shift+up=adjust_selection:up
|
||||
keybind = alt+five=goto_tab:5
|
||||
keybind = super+ctrl+right_bracket=goto_split:next
|
||||
keybind = ctrl+equal=increase_font_size:1
|
||||
keybind = ctrl+shift+o=new_split:right
|
||||
keybind = ctrl+shift+c=copy_to_clipboard
|
||||
keybind = ctrl+shift+q=quit
|
||||
keybind = ctrl+shift+n=new_window
|
||||
keybind = ctrl+shift+page_down=jump_to_prompt:1
|
||||
keybind = ctrl+shift+comma=reload_config
|
||||
keybind = ctrl+minus=decrease_font_size:1
|
||||
keybind = shift+left=adjust_selection:left
|
||||
keybind = super+ctrl+shift+up=resize_split:up,10
|
||||
keybind = alt+eight=goto_tab:8
|
||||
keybind = shift+page_up=scroll_page_up
|
||||
keybind = ctrl+alt+shift+j=write_screen_file:open
|
||||
keybind = ctrl+shift+left=previous_tab
|
||||
keybind = ctrl+shift+w=close_tab
|
||||
keybind = shift+end=scroll_to_bottom
|
||||
keybind = ctrl+zero=reset_font_size
|
||||
keybind = alt+three=goto_tab:3
|
||||
keybind = ctrl+shift+j=write_screen_file:paste
|
||||
keybind = ctrl+page_up=previous_tab
|
||||
keybind = shift+right=adjust_selection:right
|
||||
keybind = ctrl+tab=next_tab
|
||||
keybind = ctrl+alt+left=goto_split:left
|
||||
keybind = shift+page_down=scroll_page_down
|
||||
keybind = ctrl+shift+right=next_tab
|
||||
keybind = ctrl+shift+page_up=jump_to_prompt:-1
|
||||
keybind = alt+nine=last_tab
|
||||
keybind = ctrl+shift+t=new_tab
|
||||
keybind = shift+down=adjust_selection:down
|
||||
keybind = super+ctrl+shift+left=resize_split:left,10
|
||||
keybind = ctrl+shift+tab=previous_tab
|
||||
keybind = alt+two=goto_tab:2
|
||||
keybind = ctrl+alt+down=goto_split:down
|
||||
keybind = super+ctrl+shift+down=resize_split:down,10
|
||||
keybind = super+ctrl+shift+right=resize_split:right,10
|
||||
keybind = ctrl+plus=increase_font_size:1
|
||||
keybind = alt+four=goto_tab:4
|
||||
keybind = ctrl+insert=copy_to_clipboard
|
||||
keybind = ctrl+shift+e=new_split:down
|
||||
keybind = ctrl+alt+right=goto_split:right
|
||||
keybind = alt+f4=close_window
|
||||
keybind = alt+one=goto_tab:1
|
||||
keybind = ctrl+shift+enter=toggle_split_zoom
|
||||
keybind = shift+home=scroll_to_top
|
||||
keybind = super+ctrl+left_bracket=goto_split:previous
|
||||
keybind = ctrl+shift+i=inspector:toggle
|
||||
keybind = alt+six=goto_tab:6
|
||||
keybind = alt+seven=goto_tab:7
|
||||
31
homemanager/terminal_emulators/kitty.nix
Normal file
31
homemanager/terminal_emulators/kitty.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
options = {
|
||||
modules.terminalEmulators.kitty.enable = lib.mkEnableOption "kitty";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.modules.terminalEmulators.kitty.enable {
|
||||
programs.kitty.enable = true;
|
||||
programs.kitty.settings = {
|
||||
shell = "fish";
|
||||
font_family = "MesloLGS NF";
|
||||
bold_font = "auto";
|
||||
italic_font = "auto";
|
||||
bold_italic_font = "auto";
|
||||
font_size = 12;
|
||||
background_opacity = 0.4;
|
||||
draw_minimal_borders = "yes";
|
||||
window_padding_width = 14;
|
||||
window_border_width = 0;
|
||||
hide_window_decorations = "yes";
|
||||
titlebar-only = "yes";
|
||||
active_border_color = "none";
|
||||
active_tab_title_template = "{fmt.fg._fff}{title}";
|
||||
active_tab_foreground = "#fff";
|
||||
active_tab_font_style = "bold-italic";
|
||||
active_tab_background = "#8631B4";
|
||||
inactive_tab_foreground = "#c2c2c2";
|
||||
inactive_tab_background = "#8631B4";
|
||||
};
|
||||
};
|
||||
}
|
||||
17
homemanager/terminal_emulators/wezterm.nix
Normal file
17
homemanager/terminal_emulators/wezterm.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
configHome = "${config.home.homeDirectory}/.config/dotfiles/homes/quirinecker";
|
||||
in
|
||||
{
|
||||
options = {
|
||||
modules.terminalEmulators.wezterm.enable = lib.mkEnableOption "kitty";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.modules.terminalEmulators.wezterm.enable {
|
||||
programs.wezterm.enable = true;
|
||||
xdg.configFile = {
|
||||
"wezterm/wezterm.lua".source =
|
||||
config.lib.file.mkOutOfStoreSymlink ./wezterm/wezterm.lua;
|
||||
};
|
||||
};
|
||||
}
|
||||
17
homemanager/terminal_emulators/wezterm/wezterm.lua
Normal file
17
homemanager/terminal_emulators/wezterm/wezterm.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
local wezterm = require('wezterm')
|
||||
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.color_scheme = 'nightfox'
|
||||
-- config.default_cwd = '~/.config'
|
||||
config.window_decorations = 'NONE'
|
||||
config.enable_tab_bar = false
|
||||
config.default_prog = { 'fish' }
|
||||
config.enable_wayland = false
|
||||
config.front_end = 'WebGpu'
|
||||
config.colors = {
|
||||
background = 'rgba(43 48 59 50%)'
|
||||
}
|
||||
config.automatically_reload_config = false
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user