ma sickbeard: use correct external ip

This commit is contained in:
makefu 2019-09-25 15:41:44 +02:00
parent c0c3f87718
commit 1cdf83f236

View file

@ -1,7 +1,10 @@
{ }:
{ services.sickbeard = let
{ pkgs, config, ... }:
let
pkg = pkgs.callPackage ./sickgear.nix {};
external-ip = config.krebs.build.host.nets.internet.ip4.addr;
in {
services.sickbeard =
{
enable = true;
package = pkg;
user = "sickbeard";