mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
nixos/wiki-js: Add git and openssh to enable git backups.
(cherry picked from commit eef1f70919)
This commit is contained in:
committed by
github-actions[bot]
parent
1c875c0ff2
commit
d7087d7ddf
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user