nix/host/x86_64-linux/home/Deluge.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";
};
}