Files
Nixos/modules/system/darwin/casks/ghostty.nix
T

22 lines
359 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.ghostty;
in
{
options.os.homebrew.ghostty = {
enable = mkEnableOption "System iterm homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"ghostty"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Ghostty.app"; }
];
};
}