inputs: { pkgs, config, ... }: {
  imports = [
    inputs.iceshrimp.nixosModules.iceshrimp
  ];
  services.iceshrimp = {
    enable = true;
    createDb = true;
    dbPasswordFile = /var/keys/iceshrimpdbpass;
    secretConfig = /var/keys/is_secrets.yml;
    settings = {
      url = "https://is.phite.ro";
      accountDomain = "phite.ro";
      port = 3010;
      maxNoteLength = 100000;
      maxCaptionLength = 8192;
      disableHsts = true; # caddy will handle that
      clusterLimit = 4;
      outgoingAddressFamily = "dual";
    };
  };
}