2024-10-12 09:43:57 +00:00
|
|
|
{ pkgs, ... }:
|
2024-10-15 08:34:19 +00:00
|
|
|
let
|
2024-10-15 08:47:49 +00:00
|
|
|
torrserver = pkgs.callPackage ./torrserver {};
|
2024-10-15 08:34:19 +00:00
|
|
|
in
|
2024-10-12 09:43:57 +00:00
|
|
|
{
|
|
|
|
systemd = {
|
|
|
|
services = { # SERVICES SEETINGS
|
2024-10-15 08:26:42 +00:00
|
|
|
torrserver = { # TORRSERVER
|
|
|
|
enable = true;
|
2024-10-12 09:43:57 +00:00
|
|
|
after = ["multi-user.target"];
|
|
|
|
wantedBy = ["multi-user.target"];
|
2024-10-15 08:34:19 +00:00
|
|
|
path = [ torrserver ];
|
2024-10-12 09:43:57 +00:00
|
|
|
serviceConfig = {
|
2024-10-15 08:47:49 +00:00
|
|
|
ExecStart = "${pkgs.torrserver}";
|
2024-10-12 09:43:57 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|