Add bashInteractive in nix-portable bwrap

This commit is contained in:
2026-03-06 12:42:09 +01:00
parent cdda51e54b
commit befbdfeb6f

View File

@@ -14,6 +14,7 @@ with builtins;
"gitMinimal" "gitMinimal"
"netcat-openbsd" "netcat-openbsd"
"openssh" "openssh"
"bashInteractive"
], ],
busybox, busybox,
@@ -260,7 +261,9 @@ let
recreate_nix_conf recreate_nix_conf
fi fi
# Override $SHELL with nix bashInteractive
export SHELL="${pkgs.bashInteractive.out}/bin/bash"
export PS1="\n\[\033[1;32m\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] "
### setup SSL ### setup SSL
# find ssl certs or use from nixpkgs # find ssl certs or use from nixpkgs