summaryrefslogtreecommitdiff
path: root/meta/README.md
blob: 02b43e60f47fdef906c985e7cdcaae72232e8c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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`