1# Dump1090-fa {#module-services-dump1090-fa}
2
3[dump1090-fa](https://github.com/flightaware/dump1090) is a demodulator and decoder for ADS-B, Mode S, and Mode 3A/3C aircraft transponder messages. It can receive and decode these messages from an attached software-defined radio or from data received over a network connection.
4
5## Configuration {#module-services-dump1090-fa-configuration}
6
7When enabled, this module automatically creates a systemd service to start the `dump1090-fa` application. The application will then write its JSON output files to `/run/dump1090-fa`.
8
9Exposing the integrated web interface is left to the user's configuration. Below is a minimal example demonstrating how to serve it using Nginx:
10
11```nix
12{ pkgs, ... }:
13{
14 services.dump1090-fa.enable = true;
15
16 services.nginx = {
17 enable = true;
18 virtualHosts."dump1090-fa" = {
19 locations = {
20 "/".alias = "${pkgs.dump1090-fa}/share/dump1090/";
21 "/data/".alias = "/run/dump1090-fa/";
22 };
23 };
24 };
25}
26```