nixos/wiki-js: Add git and openssh to enable git backups.

(cherry picked from commit eef1f70919)
This commit is contained in:
Tom Jankauski
2022-12-24 13:20:39 -08:00
committed by github-actions[bot]
parent 1c875c0ff2
commit d7087d7ddf

View File

@@ -113,7 +113,13 @@ in {
documentation = [ "https://docs.requarks.io/" ];
wantedBy = [ "multi-user.target" ];
path = with pkgs; [ coreutils ];
path = with pkgs; [
# Needed for git storage.
git
# Needed for git+ssh storage.
openssh
];
preStart = ''
ln -sf ${configFile} /var/lib/${cfg.stateDirectoryName}/config.yml
ln -sf ${pkgs.wiki-js}/server /var/lib/${cfg.stateDirectoryName}