fix: add qui user to qbittorrent group and changed directory permissions
All checks were successful
ci / treefmt (push) Successful in 1m48s

This commit is contained in:
Ceferino Patino 2026-06-29 12:06:59 -05:00
commit 072b3c45b7
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -206,14 +206,25 @@ in {
};
users = {
users.qbittorrent = {
inherit uid;
isSystemUser = true;
group = "qbittorrent";
users = {
qbittorrent = {
inherit uid;
isSystemUser = true;
group = "qbittorrent";
};
qui = {
isSystemUser = true;
group = "qui";
extraGroups = ["qbittorrent"];
};
};
groups.qbittorrent = {
inherit gid;
groups = {
qbittorrent = {
inherit gid;
};
qui = {};
};
};
@ -225,7 +236,7 @@ in {
directory = "/var/lib/qBittorrent";
user = qbittorrentUser.name;
group = qbittorrentUser.group;
mode = "700";
mode = "770";
}
{
directory = "/var/lib/qui";