wip!!!!!!!!!

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2022-09-19 15:46:48 +02:00
parent 8a37bcacbb
commit f6e66fecc3
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -24,8 +24,9 @@ nglib.makeSystem {
DB_FILE="$DATA_DIR/sqlite.db" DB_FILE="$DATA_DIR/sqlite.db"
cp ${config} "$CONFIG_FILE" ; chmod 755 "$CONFIG_FILE" cp ${config} "$CONFIG_FILE" ; chmod 755 "$CONFIG_FILE"
${pkgs.sqlite}/bin/sqlite3 $DB_FILE '.databases ; .quit' ${pkgs.sqlite}/bin/sqlite3 $DB_FILE '.databases ; .quit'
[ -e -r $NOMAD_ALLOC_DIR/registration.yaml ] || \
${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r $NOMAD_ALLOC_DIR/registration.yaml -g ${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r $NOMAD_ALLOC_DIR/registration.yaml -g
${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -n ${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r $NOMAD_ALLOC_DIR/registration.yaml -n
''; '';
}; };
}); });