{ pkgs, ... }: let torrserver = pkgs.callPackage ./torrserver { }; in { systemd = { services = { # SERVICES SEETINGS torrserver = { # TORRSERVER enable = true; after = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ]; path = [ torrserver ]; serviceConfig = { ExecStart = "${pkgs.torrserver}"; }; }; }; }; }