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