correct logic for ssh_tty
Some checks reported errors
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24158 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24160 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.pc-installer Hydra build #24163 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24159 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24157 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522 Hydra build #24161 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #24162 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-07 09:40:39 +01:00
parent 4c68a511b0
commit 7acf08d013

View file

@ -36,7 +36,7 @@
programs.fish.shellInit = '' programs.fish.shellInit = ''
if status is-interactive if status is-interactive
and not set -q TMUX and not set -q TMUX
and not set -q SSH_TTY and set -q SSH_TTY
tmux attach || tmux tmux attach || tmux
end end
''; '';