nixos-config/packages/ci/default.nix
Sridhar Ratnakumar aa15c4dc0b
Fix
2024-08-26 17:07:53 -04:00

15 lines
369 B
Nix

{ writeShellApplication, omnix, zellij, ... }:
writeShellApplication {
name = "ci";
runtimeInputs = [ omnix zellij ];
meta.description = ''
Run CI locally.
Powered by omnix, zellij and your beefy machines over SSH.
'';
text = ''
PRJ=$(basename "$(pwd)")
zellij --layout ${./layout.kdl} attach --create "$PRJ"-ci --force-run-commands
'';
}