Files
nixos-blueprint/modules/home/programs/terminal/ghostty.nix
2025-04-19 15:56:20 +03:00

25 lines
432 B
Nix

{
config,
lib,
...
}:
with lib; let
cfg = config.terminal.ghostty;
in {
options = {
terminal.ghostty.enable = mkEnableOption "enable ghostty terminal";
};
config = mkIf cfg.enable {
programs.ghostty = {
enable = true;
settings = {
gtk-single-instance = true;
window-decoration = "client";
keybind = [
"ctrl+shift+f=close_surface"
];
};
};
};
}