fix: pyload

This commit is contained in:
2025-11-26 12:48:24 +01:00
parent 351d36b217
commit 38bead3dc8
4 changed files with 53 additions and 5 deletions

View File

@@ -178,6 +178,7 @@ in
environment.systemPackages = with pkgs; [
unrar # Required for RAR archive extraction
p7zip # Required for 7z and other archive formats
filebot # Automated media file organization
];
@@ -234,9 +235,16 @@ in
};
};
# Disable SSL certificate verification
# Configure pyload service
systemd.services.pyload = {
# Add extraction tools to service PATH
path = with pkgs; [
unrar # For RAR extraction
p7zip # For 7z extraction
];
environment = {
# Disable SSL certificate verification
PYLOAD__GENERAL__SSL_VERIFY = "0";
# Enable ExtractArchive plugin
@@ -248,7 +256,7 @@ in
PYLOAD__EXTRACTARCHIVE__FULLPATH = "1";
};
# Bind-mount DNS configuration files and system tools into the chroot
# Bind-mount DNS configuration files into the chroot
serviceConfig = {
BindReadOnlyPaths = [
"/etc/resolv.conf"
@@ -256,8 +264,6 @@ in
"/etc/hosts"
"/etc/ssl"
"/etc/static/ssl"
# Make all system packages (including unrar and filebot) accessible
"/run/current-system/sw/bin"
];
};
};