{ pkgs, ... }:
{
  home.packages = [
    (pkgs.writeShellScriptBin "aichat-wrapper" ''
      #!/usr/bin/env bash
      
      model=$(${pkgs.aichat}/bin/aichat --list-models | ${pkgs.fzf}/bin/fzf)

      ${pkgs.aichat}/bin/aichat --model "$model"
    '')
  ];
}