Add ghostty
This commit is contained in:
parent
389907c2d4
commit
1fae8d3e9c
5 changed files with 359 additions and 2 deletions
home
|
@ -5,6 +5,7 @@
|
|||
./broot.nix
|
||||
./devel.nix
|
||||
./fish.nix
|
||||
./ghostty.nix
|
||||
./gnome.nix
|
||||
./k8s.nix
|
||||
./nix.nix
|
||||
|
|
75
home/common/ghostty.nix
Normal file
75
home/common/ghostty.nix
Normal file
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.shelman.desktop.enable {
|
||||
|
||||
home.packages = with pkgs; [ inputs.ghostty.packages.${pkgs.system}.default ];
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font-size = 14;
|
||||
font-family = "BerkeleyMono Nerd Font";
|
||||
font-feature = [
|
||||
# "ss02", -- Clean zero
|
||||
"ss03" # Slashed zero
|
||||
# "ss04", -- Cut zero
|
||||
];
|
||||
|
||||
mouse-hide-while-typing = true;
|
||||
cursor-style = "block";
|
||||
adjust-cursor-thickness = 5;
|
||||
|
||||
shell-integration = "fish";
|
||||
|
||||
window-decoration = true;
|
||||
gtk-tabs-location = "bottom";
|
||||
window-padding-x = 4;
|
||||
window-padding-y = 4;
|
||||
window-padding-balance = true;
|
||||
window-padding-color = "extend";
|
||||
|
||||
window-theme = "system";
|
||||
|
||||
unfocused-split-opacity = 1.0;
|
||||
|
||||
background = "#fefeff";
|
||||
foreground = "#222222";
|
||||
cursor-color = "#aa0000";
|
||||
selection-background = "#ffe6a4";
|
||||
selection-foreground = "#483600";
|
||||
palette = [
|
||||
"0=#000000"
|
||||
"1=#9e001d"
|
||||
"2=#306300"
|
||||
"3=#deae00"
|
||||
"4=#00669e"
|
||||
"5=#7d009e"
|
||||
"6=#008a9e"
|
||||
"7=#f7f7f7"
|
||||
"8=#000000"
|
||||
"9=#ff0035"
|
||||
"10=#509e00"
|
||||
"11=#ffc900"
|
||||
"12=#00a7ff"
|
||||
"13=#cb01ff"
|
||||
"14=#00e0ff"
|
||||
"15=#ffffff"
|
||||
];
|
||||
|
||||
keybind = [
|
||||
"alt+shift+c=copy_from_clipboard"
|
||||
"alt+shift+v=paste_from_clipboard"
|
||||
"ctrl+tab=goto_split:previous"
|
||||
"ctrl+enter=toggle_split_zoom"
|
||||
"alt+enter=toggle_fullscreen"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
shelman = {
|
||||
desktop.enable = true;
|
||||
|
@ -11,6 +11,7 @@
|
|||
gimp-with-plugins
|
||||
helvum
|
||||
inkscape
|
||||
inputs.ghostty.packages.${pkgs.system}.default
|
||||
moonlight-qt
|
||||
obsidian
|
||||
pavucontrol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue