Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
27 lines
1009 B
Markdown
27 lines
1009 B
Markdown
# Dump1090-fa {#module-services-dump1090-fa}
|
|
|
|
[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.
|
|
|
|
## Configuration {#module-services-dump1090-fa-configuration}
|
|
|
|
When 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`.
|
|
|
|
Exposing the integrated web interface is left to the user's configuration. Below is a minimal example demonstrating how to serve it using Nginx:
|
|
|
|
```nix
|
|
{ pkgs, ... }:
|
|
{
|
|
services.dump1090-fa.enable = true;
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts."dump1090-fa" = {
|
|
locations = {
|
|
"/".alias = "${pkgs.dump1090-fa}/share/dump1090/";
|
|
"/data/".alias = "/run/dump1090-fa/";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
```
|