Home Explore Blog CI



nixpkgs

1st chunk of `nixos/modules/services/web-apps/honk.md`
7fcdee25ca2a29a7f824f7116c49db6b4278a2671089077000000001000001f2
# Honk {#module-services-honk}

With Honk on NixOS you can quickly configure a complete ActivityPub server with
minimal setup and support costs.

## Basic usage {#module-services-honk-basic-usage}

A minimal configuration looks like this:

```nix
{
  services.honk = {
    enable = true;
    host = "0.0.0.0";
    port = 8080;
    username = "username";
    passwordFile = "/etc/honk/password.txt";
    servername = "honk.example.com";
  };

  networking.firewall.allowedTCPPorts = [ 8080 ];
}
```

Title: Honk: ActivityPub Server Configuration on NixOS
Summary
This section introduces Honk, a NixOS module for setting up an ActivityPub server with minimal configuration and maintenance. A basic configuration example is provided, demonstrating how to enable Honk, set the host and port, specify a username and password file, and define the server name. It also shows how to open the necessary port in the firewall.