Files
nixos-blueprint/modules/home/programs/terminal/ghostty.nix
unexplrd 9c0e7c4cae flake.lock: bump
flake.nix: add ghostty
modules/home/programs/terminal/ghostty.nix: switch to ghostty flake

Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-07-07 13:09:26 +03:00

27 lines
488 B
Nix

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