nix-config/homeManagerModules/programs/ghostty.nix

30 lines
521 B
Nix
Raw Normal View History

2025-03-11 16:29:36 +01:00
{
lib,
config,
pkgs,
...
}:
let
cfg = config.krop.hm.programs.ghostty;
in
{
options.krop.hm.programs.ghostty = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
description = "Enable my ghostty configuration";
};
};
config = lib.mkIf cfg.enable {
programs.ghostty = {
enable = true;
enableZshIntegration = true;
settings = {
font-size = 10;
font-family = "JetBrains Mono Medium";
};
};
};
}