This commit is contained in:
kenji
2025-12-30 18:02:37 -06:00
parent bc6dae065b
commit 83919d2367
8 changed files with 333 additions and 48 deletions
+1 -6
View File
@@ -1,10 +1,5 @@
{
pkgs,
myConfig,
...
}: {
{pkgs, ...}: {
programs = {
ssh.extraConfig = myConfig.ssh.extraConfig;
bash.interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]; then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""