{ inputs, pkgs, ... }:
{
  programs = {
    nh.enable = true;
    tealdeer = {
      enable = true;
      enableAutoUpdates = true;
      settings.updates.auto_update = true;
    };
    direnv = {
      enable = true;
      nix-direnv.enable = true;
    };
    zoxide.enable = true;
    nix-index.enable = true;
    nix-index-database.comma.enable = true;
  };
  persistDirs = [ ".local/share/zoxide" ];
  home = {
    shellAliases = {
      windows = "sudo systemctl reboot --boot-loader-entry=auto-windows";
      v = "nvim";
      e = "edit";
      cd = "z";
      ai = "aichat -r %shell% -e";
    };
    packages = with pkgs; [
      ripgrep
      aichat
      devenv
      pantheon.rebuild
      pantheon.deploy
      pantheon.edit
      pantheon.commit
    ];
  };

  xdg.configFile."aichat/config.yaml".text = ''
    model: gemini:gemini-2.0-flash
    clients:
    - type: gemini
  '';
}
