Temporarily disable STATIC_ROOT_PATH

This commit is contained in:
hodasemi 2025-06-19 09:41:53 +02:00
parent 3a0538f41a
commit 99cdbdd49c

View file

@ -57,13 +57,13 @@ in
HTTP_PORT = 3000;
SSH_PORT = 62;
STATIC_ROOT_PATH = pkgs.runCommand "patch-templates" { } ''
mkdir -p $out
${pkgs.lib.getExe' pkgs.coreutils "cp"} -r ${pkgs.forgejo.data}/* $out
chmod u+w $out/templates/home.tmpl
${pkgs.lib.getExe' pkgs.coreutils "cp"} -f ${./home.tmpl} $out/templates/home.tmpl
chmod u-w $out/templates/home.tmpl
'';
# STATIC_ROOT_PATH = pkgs.runCommand "patch-templates" { } ''
# mkdir -p $out
# ${pkgs.lib.getExe' pkgs.coreutils "cp"} -r ${pkgs.forgejo.data}/* $out
# chmod u+w $out/templates/home.tmpl
# ${pkgs.lib.getExe' pkgs.coreutils "cp"} -f ${./home.tmpl} $out/templates/home.tmpl
# chmod u-w $out/templates/home.tmpl
# '';
};
service.DISABLE_REGISTRATION = true;
actions = {