Add --ssh-pubkey FILE argument

This commit is contained in:
Qubasa
2024-04-23 18:55:00 +02:00
parent 038e63612f
commit b1dd5c2832
15 changed files with 192 additions and 31 deletions

View File

@@ -106,13 +106,7 @@ def nix_shell(packages: list[str], cmd: list[str]) -> list[str]:
if os.environ.get("IN_NIX_SANDBOX"):
return cmd
return [
*nix_command(
[
"shell",
"--inputs-from",
f"{nixpkgs_flake()!s}",
]
),
*nix_command(["shell", "--offline", "--inputs-from", f"{nixpkgs_flake()!s}"]),
*packages,
"-c",
*cmd,