Compare commits

...

2 Commits

2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@
neovide
ngspice
nix-init
nixpkgs-fmt
nodePackages.peerflix
openocd
openscad

View File

@ -101,7 +101,7 @@
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
TMUX_EXE="${pkgs.tmux}/bin/tmux"
$TMUX_EXE attach-session -t $USER || $TMUX_EXE new-session -s $USER
systemd-run --scope --user $TMUX_EXE attach-session -t $USER || systemd-run --scope --user $TMUX_EXE new-session -s $USER
fi
'';
};