fix
This commit is contained in:
@@ -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}
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user