2024-12-18 09:40:11 +03:00
|
|
|
{ lib, ... }:
|
2024-12-02 21:12:45 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
services.deluge = {
|
|
|
|
enable = true;
|
|
|
|
web.enable = true;
|
|
|
|
};
|
|
|
|
systemd.services.deluged.serviceConfig = {
|
|
|
|
MemoryMax = "4G";
|
|
|
|
Restart = lib.mkForce "always";
|
|
|
|
RuntimeMaxSec = "3h";
|
|
|
|
};
|
2024-12-02 21:12:45 +03:00
|
|
|
}
|