group things

This commit is contained in:
2025-07-21 14:49:48 +02:00
parent 32057fc469
commit 05ac203147

View File

@@ -17,16 +17,6 @@ in {
default = 8080; default = 8080;
description = "The port to host qBittorrent on."; description = "The port to host qBittorrent on.";
}; };
uid = lib.mkOption {
type = lib.types.int;
default = 899;
description = "The uid of qBittorrent.";
};
gid = lib.mkOption {
type = lib.types.int;
default = 898;
description = "The gid qBittorrent.";
};
homepage.name = lib.mkOption { homepage.name = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "qBittorrent"; default = "qBittorrent";
@@ -109,13 +99,13 @@ in {
users = { users = {
users.qbittorrent = { users.qbittorrent = {
uid = 994; uid = 899;
group = "qbittorrent"; group = "qbittorrent";
extraGroups = ["media"]; extraGroups = ["media"];
isSystemUser = true; isSystemUser = true;
}; };
groups.qbittorrent = { groups.qbittorrent = {
gid = 993; gid = 898;
}; };
}; };
}; };