Update modules/server/containers/apps/handbrake.nix

This commit is contained in:
2026-06-03 17:16:06 +02:00
parent c1c76ab3de
commit d0b6718254

View File

@@ -9,10 +9,7 @@ let
in { in {
paths = [{ paths = [{
path = "${serverCfg.configPath}/handbrake/config"; path = "${serverCfg.path.config}/handbrake";
mode = "0755";
} {
path = "${serverCfg.dataPath}/handbrake/";
mode = "0755"; mode = "0755";
}]; }];
@@ -39,9 +36,9 @@ in {
overrides = { overrides = {
volumes = [ volumes = [
"${serverCfg.configPath}/handbrake/config:/config:rw" "${serverCfg.path.config}/handbrake:/config:rw"
"${serverCfg.dataPath}/handbrake/watch:/watch:rw" "${serverCfg.path.dlComplete}:/watch:rw"
"${serverCfg.dataPath}/handbrake/output:/output:rw" "${serverCfg.path.dlConverted}:/output:rw"
]; ];
}; };
}; };
@@ -51,7 +48,7 @@ in {
setup = { setup = {
trigger = "server"; trigger = "server";
script = pkgs.writeShellScript "setup" '' script = pkgs.writeShellScript "setup" ''
mkdir -p ${serverCfg.dataPath}/handbrake/{watch,output} mkdir -p ${serverCfg.path.data}/handbrake/{watch,output}
''; '';
}; };