mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
qbit
This commit is contained in:
parent
02d1b0d6af
commit
ee22c18ee1
1 changed files with 14 additions and 12 deletions
|
|
@ -32,19 +32,21 @@
|
|||
};
|
||||
|
||||
users.groups.qbittorrent = { };
|
||||
users.users.qbittorrent.group = "qbittorrent";
|
||||
# users.groups.qbittorrent = {};
|
||||
users.users.qbittorrent.extraGroups = [ "media_services" ];
|
||||
users.users.qbittorrent = {
|
||||
isSystemUser = true;
|
||||
group = "qbittorrent";
|
||||
extraGroups = [ "media_services" ];
|
||||
};
|
||||
|
||||
# services.qbittorrent = {
|
||||
# enable = true;
|
||||
# dataDir = "/storage/services/qbittorrent";
|
||||
# user = "qbittorrent";
|
||||
# group = "qbittorrent";
|
||||
# port = 8090;
|
||||
# openFirewall = true;
|
||||
# package = pkgs.qbittorrent-nox;
|
||||
# };
|
||||
services.qbittorrent = {
|
||||
enable = true;
|
||||
profileDir = "/storage/services/qbittorrent";
|
||||
user = "qbittorrent";
|
||||
group = "qbittorrent";
|
||||
webuiPort = 8090;
|
||||
openFirewall = true;
|
||||
package = pkgs.qbittorrent-nox;
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /storage/services/qbittorrent 0755 qbittorrent qbittorrent - -"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue