Home Explore Blog Models 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
765f0414 (1st chunk of `nixos/modules/services/web-apps/honk.md`)
Title: Honk ActivityPub Server Configuration on NixOS
Summary
This chunk introduces Honk, an ActivityPub server designed for easy and cost-effective configuration on NixOS. It provides a basic Nix configuration example, illustrating how to enable the `services.honk` module and set essential parameters like host, port, username, password file path, and server name. Additionally, it shows how to configure the NixOS firewall to allow traffic on the specified Honk port.