• Operand
  • can sell console.

gram:build

> ./nixos/session/build.nix

Lenses
(coming soon!)


lib: basic: { base, lines ? [] }: ''
layout { cwd "~/.build/nixos";
  ${basic.column ''
    ${basic.banner ''
      pane command="sudo" { args "${nushell}/bin/nu" "-e" "nixos-rebuild switch"; }
      // pane command="colmena" { args "build"; start_suspended true; }
      ${basic.nup "colmena apply --on base --build-on-target switch --impure"}
      ${basic.nup "shell $m.base run-pain"}
      ${basic.nup "shell $m.base run-operand"}
      ${basic.nup "shell $m.base run-cc"}
    ''}
    ${basic.scope}''}
};'';
}