modules: services: transmission: limit memory use

This commit is contained in:
Bruno BELANYI 2022-11-20 13:15:58 +01:00
parent 7ce0a4ad5c
commit 1967c8ef79
1 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,14 @@ in
};
};
# Transmission wants to eat *all* my RAM if left to its own devices
systemd.services.transmission = {
serviceConfig = {
MemoryHigh = "25%";
MemoryMax = "33%";
};
};
# Set-up media group
users.groups.media = { };