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:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user