Revert template change

This commit is contained in:
Michael Huebner 2025-06-16 09:36:57 +02:00
parent ae856e1c9e
commit 60eb69b118

View file

@ -78,18 +78,18 @@ in
file = "forgejo_backup"; file = "forgejo_backup";
backupDir = "/backups"; backupDir = "/backups";
}; };
package = pkgs.forgejo.overrideAttrs ( # package = pkgs.forgejo.overrideAttrs (
prev: { # prev: {
postInstall = builtins.concatStringsSep "\n" [ # postInstall = builtins.concatStringsSep "\n" [
prev.postInstall # prev.postInstall
'' # ''
chmod -R u+w $data/templates/custom/ # chmod -R u+w $data/templates/custom/
cp ${./home.tmpl} $data/templates/custom/ # cp ${./home.tmpl} $data/templates/custom/
chmod -R u-w $data/templates/custom/ # chmod -R u-w $data/templates/custom/
'' # ''
]; # ];
} # }
); # );
}; };
openssh = { openssh = {