summaryrefslogtreecommitdiff
path: root/meta/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'meta/README.md')
-rw-r--r--meta/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/README.md b/meta/README.md
new file mode 100644
index 0000000000..02b43e60f4
--- /dev/null
+++ b/meta/README.md
@@ -0,0 +1,37 @@
+# Prism Launcher Meta
+
+Scripts to generate jsons and jars that Prism Launcher will access.
+
+## Recommended Deployment
+
+Assuming you have a Flake-based NixOS configuration
+
+- Add Flake input:
+
+ ```nix
+ {
+ inputs.prism-meta.url = "github:PrismLauncher/meta";
+ }
+ ```
+
+- Import NixOS module and configure
+
+ ```nix
+ {inputs, ...}: {
+ imports = [inputs.prism-meta.nixosModules.default];
+ services.blockgame-meta = {
+ enable = true;
+ settings = {
+ DEPLOY_TO_GIT = "true";
+ GIT_AUTHOR_NAME = "Herpington Derpson";
+ GIT_AUTHOR_EMAIL = "herpderp@derpmail.com";
+ GIT_COMMITTER_NAME = "Herpington Derpson";
+ GIT_COMMITTER_EMAIL = "herpderp@derpmail.com";
+ };
+ };
+ }
+ ```
+
+- Rebuild and activate!
+- Trigger it `systemctl start blockgame-meta.service`
+- Monitor it `journalctl -fu blockgame-meta.service`