This commit is contained in:
Sakooooo 2025-01-01 16:24:19 +04:00
parent 9a97fa4929
commit 1a134ef460
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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 = {