fix: add qui user to qbittorrent group and changed directory permissions
All checks were successful
ci / treefmt (push) Successful in 1m48s
All checks were successful
ci / treefmt (push) Successful in 1m48s
This commit is contained in:
parent
fb01861932
commit
072b3c45b7
1 changed files with 18 additions and 7 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue