15 lines
223 B
Nix
15 lines
223 B
Nix
|
{
|
||
|
lib,
|
||
|
...
|
||
|
}: {
|
||
|
services.deluge = {
|
||
|
enable = true;
|
||
|
web.enable = true;
|
||
|
};
|
||
|
systemd.services.deluged.serviceConfig = {
|
||
|
MemoryMax = "4G";
|
||
|
Restart = lib.mkForce "always";
|
||
|
RuntimeMaxSec = "3h";
|
||
|
};
|
||
|
}
|