nixos-config/packages/ci/default.nix
Sridhar Ratnakumar 6175290c3a
nixci -> om ci
2024-07-26 14:27:25 -04:00

15 lines
396 B
Nix

{ writeShellApplication, om-ci-build-remote, zellij, ... }:
writeShellApplication {
name = "ci";
runtimeInputs = [ om-ci-build-remote 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
'';
}