mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
qbit mount
This commit is contained in:
parent
4dbfa87e07
commit
392d1062ae
1 changed files with 12 additions and 9 deletions
|
|
@ -24,15 +24,18 @@
|
||||||
environmentFile = "/etc/nixos/secrets/c2c.env";
|
environmentFile = "/etc/nixos/secrets/c2c.env";
|
||||||
};
|
};
|
||||||
# virtualisation.incus.enable = true;
|
# virtualisation.incus.enable = true;
|
||||||
services.qbittorrent = {
|
services.qbittorrent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profileDir = "/storage/services/qbittorrent";
|
profileDir = "/storage/services/qbittorrent";
|
||||||
user = "qbittorrent";
|
user = "qbittorrent";
|
||||||
group = "media_services";
|
group = "media_services";
|
||||||
webuiPort = 8090;
|
webuiPort = 8090;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
package = pkgs.qbittorrent-nox;
|
package = pkgs.qbittorrent-nox;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.qbittorrent.unitConfig.RequiresMountsFor = [ "/media" ];
|
||||||
|
systemd.services.qbittorrent.unitConfig.ConditionPathIsMountPoint = "/media";
|
||||||
users.users.audiobookshelf = {
|
users.users.audiobookshelf = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "media_services";
|
group = "media_services";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue