Home Explore Blog CI



nixpkgs

nixos/modules/services/web-apps/honk.md
a4d7285e06b0a8a91a548b3facaf9e7ecdaa7feb0037d2f400000003000001f2
# 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 ];
}
```

Chunks
7fcdee25 (1st chunk of `nixos/modules/services/web-apps/honk.md`)
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.