cleaned crossseed.nix
This commit is contained in:
parent
41de261af0
commit
644385ab14
1 changed files with 6 additions and 9 deletions
|
|
@ -2,8 +2,8 @@
|
|||
let
|
||||
cfg = import /etc/nixos/modules/vars.nix;
|
||||
crossseed_port = cfg.arrstack.crossseed.port;
|
||||
#outpost_port = cfg.authentik.outpostPort;
|
||||
#domain = "mc-fucker.cool";
|
||||
PUID = toString config.users.users.arr.uid;
|
||||
PGID = toString config.users.groups.arr.gid;
|
||||
in
|
||||
{
|
||||
|
||||
|
|
@ -12,24 +12,21 @@ in
|
|||
cmd = [ "daemon" ];
|
||||
environment = {
|
||||
TZ = "Europe/Berlin";
|
||||
PUID = toString config.users.users.arr.uid;
|
||||
PGID = toString config.users.groups.arr.gid;
|
||||
};
|
||||
ports = [
|
||||
"${crossseed_port}:${crossseed_port}"
|
||||
];
|
||||
user = "${PUID}:${PGID}";
|
||||
volumes = [
|
||||
"/var/lib/cross-seed:/config"
|
||||
#"/mnt/mergerfs/media:/data"
|
||||
"/var/lib/qbittorrent/qBittorrent/data/BT_backup:/torrents"
|
||||
"/var/lib/qbittorrent/qBittorrent/data/cross-seeds:/cross-seeds"
|
||||
"/mnt/mergerfs/media/qbittorrent:/data/qbittorrent"
|
||||
"/mnt/cache/qbittorrent:/cache"
|
||||
];
|
||||
extraOptions = cfg.podman.extraOptions;
|
||||
autoStart = false;
|
||||
};
|
||||
|
||||
|
||||
#services.nginx.virtualHosts = {
|
||||
|
||||
#};
|
||||
}
|
||||
# vim: set et ts=2 sw=2 ai:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue