Test custom copy

This commit is contained in:
Michael Huebner 2025-06-16 12:36:36 +02:00
parent 60eb69b118
commit 7893327136

View file

@ -78,20 +78,18 @@ in
file = "forgejo_backup"; file = "forgejo_backup";
backupDir = "/backups"; backupDir = "/backups";
}; };
# package = pkgs.forgejo.overrideAttrs (
# prev: {
# postInstall = builtins.concatStringsSep "\n" [
# prev.postInstall
# ''
# chmod -R u+w $data/templates/custom/
# cp ${./home.tmpl} $data/templates/custom/
# chmod -R u-w $data/templates/custom/
# ''
# ];
# }
# );
}; };
copytmpl = {
enable = true;
path = [ pkgs.nix ];
serviceConfig = {
Type = oneshot;
ExecStart = "cp ${./home.tmpl} /var/lib/forgejo/custom";
}
}
openssh = { openssh = {
ports = [ 62 ]; ports = [ 62 ];
settings = { settings = {