From 1a134ef460469c459380977243c02a71d6e56fd0 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 1 Jan 2025 16:24:19 +0400 Subject: [PATCH] asdjfk;l --- modules/server/media/qbittorrent.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/server/media/qbittorrent.nix b/modules/server/media/qbittorrent.nix index 8f7db789..da255e9d 100644 --- a/modules/server/media/qbittorrent.nix +++ b/modules/server/media/qbittorrent.nix @@ -75,7 +75,12 @@ in { networking.firewall = mkIf cfg.openFirewall { allowedTCPPorts = [ cfg.torrentPort cfg.port ]; }; - users.users.qbittorrent = { }; + users.users.qbittorrent = { + home = cfg.dataDir; + useDefaultShell = true; + group = cfg.group; + isSystemUser = true; + }; users.groups.media = { }; systemd.services.qbittorrent = {