Sonarr: Difference between revisions

From NixOS Wiki
imported>Alexnortung
Basic setup
 
imported>Makefu
cleanup formatting
Line 3: Line 3:
A basic setup is given as the following.
A basic setup is given as the following.


```
<syntaxHighlight lang=nix>
services.sonarr = {
services.sonarr = {
   enable = true;
   enable = true;
   openFirewall = true;
   openFirewall = true;
};
};
```
</syntaxHighlight>
 
<code>openFirewall</code> opens the port <code>8989</code> on the host firewall.

Revision as of 21:01, 3 November 2021

Sonarr can be installed as a service on NixOS in `configuration.nix`.

A basic setup is given as the following.

services.sonarr = {
  enable = true;
  openFirewall = true;
};

openFirewall opens the port 8989 on the host firewall.