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

This commit is contained in:
Tom Jankauski 2022-12-24 13:20:39 -08:00
parent 1e4b811793
commit eef1f70919

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}