feat(y2q): add opengist

- Add environment and environmentFile options to runit module to support environment variables
- Add opengist runit service that uses these options
This commit is contained in:
toast 2025-12-07 15:19:44 +09:00
parent bd9cb2afff
commit 3b3476c110
5 changed files with 69 additions and 16 deletions

View file

@ -3,8 +3,7 @@
{
runit.services.glances = {
script = ''
#!/bin/bash
${pkgs.glances}/bin/glances -w
exec ${pkgs.glances}/bin/glances -w
'';
};
}