nixos: services: transmission: use high file limit

Seeding a lot of files means keeping them all open.

The actual limit was cargo-culted from an open issue.
This commit is contained in:
Bruno BELANYI 2025-11-17 12:38:30 +01:00
parent ad6a0bf4d3
commit 127e26b259

View file

@ -71,10 +71,12 @@ in
};
};
# Transmission wants to eat *all* my RAM if left to its own devices
systemd.services.transmission = {
serviceConfig = {
# Transmission wants to eat *all* my RAM if left to its own devices
MemoryMax = "33%";
# Avoid errors due to high number of open files.
LimitNOFILE = 1048576;
};
};