Serge Bazanski | 18c1a26 | 2022-07-07 14:24:53 +0200 | [diff] [blame] | 1 | love2d signage |
| 2 | === |
| 3 | |
| 4 | As used in digital signage displays in HSWAW. |
| 5 | |
| 6 | Originally hosted on code.hackerspace.pl/informatic/love2d-signage, now in hscloud. |
| 7 | |
| 8 | |
| 9 | Building & Running |
| 10 | --- |
| 11 | |
| 12 | $ nix-build -A hswaw.signage.prod |
| 13 | $ result/bin/signage |
| 14 | |
| 15 | If the result doesn't run and complains about OpenGL not being available, try building the 'local' target instead, which will use your host `<nixpkgs>`: |
| 16 | |
| 17 | $ nix-build -A hswaw.signage.local |
| 18 | |
| 19 | For non-NixOS systems you'll need something like `nixgl` to work around Nixpkgs-GL-on-Non-NixOS badness anyways. |
| 20 | |
| 21 | Custom configs |
| 22 | --- |
| 23 | |
| 24 | You can either modify config.lua and rebuild, or specify a custom config at runtime by settin gthe `SIGNAGE_CONFIG` environment variable. |