summaryrefslogtreecommitdiff
path: root/chaski
diff options
context:
space:
mode:
authorstuebinm2023-03-24 03:20:04 +0100
committerstuebinm2023-03-24 03:20:04 +0100
commit6840fd8748b570faabfe054835c5d3edb56f471d (patch)
tree60f9c52e4b0848ef3bf650efeae5cc0dad176ff2 /chaski
parent7eddcb4ab50ef482ff36701648854d4c7c3ce177 (diff)
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.
Diffstat (limited to '')
-rw-r--r--chaski/services/chat.nix10
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 = [