From dcb03c97c18e2d6e363c191512113fd10f3d48ef Mon Sep 17 00:00:00 2001 From: marc Date: Mon, 16 Mar 2026 22:05:33 +0100 Subject: [PATCH] feat(rqbit): add user option and systemd config Allows specifying the user for the rqbit service. Includes commented-out systemd `RestrictAddressFamilies` for future use. --- services/rqbit/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/services/rqbit/default.nix b/services/rqbit/default.nix index c764369..b46c2a7 100644 --- a/services/rqbit/default.nix +++ b/services/rqbit/default.nix @@ -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"; }; }