1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 11:06:19 +00:00
wyswort/host/misc/torrserver.nix

20 lines
397 B
Nix
Raw Normal View History

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
};
};
};
};
}