diff options
Diffstat (limited to 'chaski/services')
-rw-r--r-- | chaski/services/chat.nix | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/chaski/services/chat.nix b/chaski/services/chat.nix index 0771e19..df3f4bb 100644 --- a/chaski/services/chat.nix +++ b/chaski/services/chat.nix @@ -25,15 +25,7 @@ services.openssh = { extraConfig = '' Match user chat - ForceCommand ${pkgs.writeScript "logon-weechat" '' - #!${pkgs.fish}/bin/fish - if test -n "$SSH_ORIGINAL_COMMAND" - # allow mosh to start its server - exec fish -c "$SSH_ORIGINAL_COMMAND" - else - tmux attach || tmux -c weechat - end - ''} + ForceCommand tmux attach || tmux ''; }; users.users.chat.openssh.authorizedKeys.keys = [ |