{
  pkgs,
  flake,
  lib,
  ...
}:
let
  inherit (flake.config.people) user0;
in
{
  environment = {
    enableAllTerminfo = true;
    systemPackages = builtins.attrValues {
      inherit (pkgs)
        git
        grim
        pijul
        sshfs
        tomb
        just
        virt-manager
        imagemagick
        helix
        ;
    };
    variables = {
      VIDEO_PLAYER = "mpv";
      EDITOR = lib.getExe pkgs.helix;
      TERM = "ghostty";
      XDG_DOWNLOAD_DIR = "/home/${user0}/downloads";
      NIXPKGS_ALLOW_INSECURE = "1";
      NIXPKGS_ALLOW_UNFREE = "1";
      GTK_THEME = "catppuccin-macchiato-mauve-compact";
      # ANTHROPIC_API_KEY = config.sops.secrets.claude-api-key.path;
    };
  };
}
