{ inputs, pkgs, config, ... }:
{
  # Minimal footprint: chainfire + flaredb + iam only (for auth/metadata testing).
  imports = [ inputs.self.nixosModules.plasmacloud ];

  networking.hostName = "plasmacloud-minimal";
  networking.firewall.allowedTCPPorts = [ 8081 8082 9000 ];

  services.chainfire.enable = true;

  services.flaredb.enable = true;

  services.iam.enable = true;

  environment.systemPackages = with inputs.self.packages.${pkgs.system}; [
    chainfire-server flaredb-server iam-server
  ];
}
