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

16 lines
382 B
Nix
Raw Permalink Normal View History

2024-10-12 09:43:57 +00:00
{ pkgs, ... }:
2024-10-15 13:18:01 +00:00
let torrserver = pkgs.callPackage ./torrserver { };
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-15 13:18:01 +00:00
after = [ "multi-user.target" ];
wantedBy = [ "multi-user.target" ];
2024-10-15 08:34:19 +00:00
path = [ torrserver ];
2024-10-15 13:18:01 +00:00
serviceConfig = { ExecStart = "${pkgs.torrserver}"; };
2024-10-12 09:43:57 +00:00
};
};
};
}