anchor.diff:        enable = true;
         proxyPass = "http://127.0.0.1:6789";
       };
  +    systemd.services.nzbget-backup = mkIf cfg.backup.enable {
  +      startAt = "*-*-* *:00:00";
  +      path = [ pkgs.coreutils ];
  +      script = ''
  +        mkdir -p ${cfg.backup.destinationPath}
  +        cp -rn ${stateDir}/nzbget.conf ${cfg.backup.destinationPath}/nzbget-$(date +%Y-%m-%d).conf'';
  +    };
     };
   }
  
positive.code:       default = "nzbget";
        description = "User to server nzbget under";
      };
    };
  
    config = mkIf cfg.enable {
  
negative.code: { lib, pkgs, config, ... }:
  with lib;
  let
    cfg = config.systemFoundry.nzbget;
  
    # todo: don't know how to get this progamaticlly from the nzbget service,
    #       so hardcoding it here.
    stateDir = "/var/lib/nzbget";
  in
  {
    # todo: submodules?
  