Files
2025-08-03 22:10:24 +02:00

27 lines
506 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.terminal.ghostty;
in {
options.dov.terminal.ghostty = {
enable = mkEnableOption "ghostty config";
shell = mkOption {
type = types.str;
default = "${pkgs.zsh}/bin/zsh";
};
};
config = mkIf cfg.enable {
programs.ghostty = {
enable = true;
installVimSyntax = true;
enableZshIntegration = config.dov.shell.zsh.enable;
settings = {
command = "${cfg.shell}";
};
};
};
}