feat(rqbit): add user option and systemd config

Allows specifying the user for the rqbit service.
Includes commented-out systemd `RestrictAddressFamilies` for future use.
This commit is contained in:
2026-03-16 22:05:33 +01:00
parent 7b0426077b
commit dcb03c97c1
+8 -1
View File
@@ -1,7 +1,14 @@
{...}: {
{lib, ...}: {
# systemd.services.rqbit.serviceConfig.RestrictAddressFamilies = lib.mkForce [
# "AF_INET"
# "AF_INET6"
# "AF_UNIX"
# "AF_NETLINK"
# ];
services.rqbit = {
enable = true;
httpPort = 3030;
downloadDir = "/home/marc/downloads/";
user = "marc";
};
}