mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
15 lines
369 B
Nix
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
|
|
'';
|
|
}
|