From 6840fd8748b570faabfe054835c5d3edb56f471d Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 24 Mar 2023 03:20:04 +0100 Subject: update inputs also remove some old stuff. also deduplicate the erlangs on my akkoma. also remove chromium, since for some reason hydra hasn't built it yet and I'm not fancying compiling it myself. also remove the whole sshd mosh stuff for the chat, since that broke tmux-on-login. --- chaski/services/chat.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'chaski/services/chat.nix') 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 = [ -- cgit v1.2.3