-{ env, wallabag }:
+{ env, wallabag, mylibs }:
rec {
+ backups = {
+ rootDir = varDir;
+ };
varDir = "/var/lib/wallabag";
keys = [{
dest = "webapps/tools-wallabag";
echo -n "${webappDir}" > ${varDir}/currentWebappDir
sha512sum /var/secrets/webapps/tools-wallabag > ${varDir}/currentKey
fi
- '';
+ '';
serviceDeps = [ "postgresql.service" "openldap.service" ];
basedir = builtins.concatStringsSep ":" [ webappDir "/var/secrets/webapps/tools-wallabag" varDir ];
socket = "/var/run/phpfpm/wallabag.sock";