This commit is contained in:
soraefir
2026-06-07 16:21:21 +02:00
parent 649b7cc032
commit 8569c40183
24 changed files with 129 additions and 108 deletions

View File

@@ -5,7 +5,7 @@ let
in {
runtime = {
paths = [{
path = "${serverCfg.path.config}/handbrake";
path = "${serverCfg.path.config.path}/handbrake";
mode = "0755";
}];
@@ -28,9 +28,9 @@ in {
overrides = {
volumes = [
"${serverCfg.path.config}/handbrake:/config:rw"
"${serverCfg.path.dlComplete}:/watch:rw"
"${serverCfg.path.dlConverted}:/output:rw"
"${serverCfg.path.config.path}/handbrake:/config:rw"
"${serverCfg.path.dlComplete.path}:/watch:rw"
"${serverCfg.path.dlConverted.path}:/output:rw"
];
};
};
@@ -40,7 +40,7 @@ in {
setup = {
trigger = "server";
script = pkgs.writeShellScript "setup" ''
mkdir -p ${serverCfg.path.data}/handbrake/{watch,output}
mkdir -p ${serverCfg.path.data.path}/handbrake/{watch,output}
'';
};