1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

weechat: use relay instead of API

This commit is contained in:
2024-10-01 21:03:33 +02:00
parent 7e033412bd
commit 904cc4401e
4 changed files with 5 additions and 8 deletions

View File

@@ -108,6 +108,7 @@ in {
tmux = "${pkgs.tmux}/bin/tmux -2";
sxiv = swallow "${pkgs.nsxiv}/bin/nsxiv";
zathura = swallow "${pkgs.zathura}/bin/zathura";
im = "${pkgs.openssh}/bin/ssh weechat@makanek -t tmux attach-session -t IM";
yt = "${pkgs.yt-dlp}/bin/yt-dlp --add-metadata -ic"; # Download video link
yta = "${pkgs.yt-dlp}/bin/yt-dlp --add-metadata -xic"; # Download with audio
};

View File

@@ -112,7 +112,6 @@ in {
jbofihe # lojbanic software
unstablePackages.aider-chat
# unstablePackages.zoom-us # video conferencing
unstablePackages.weechat
(pkgs.writers.writeDashBin "im" ''
weechat_password=$(${pkgs.pass}/bin/pass weechat)
exec ${unstablePackages.weechat}/bin/weechat -t -r '/mouse enable; /remote add makanek http://${externalNetwork.makanek}:8002 -password='"$weechat_password"'; /remote connect makanek'

View File

@@ -7,7 +7,6 @@
}: {
systemd.services.telegram-bot-tlg-wotd = {
enable = true;
wantedBy = ["multi-user.target"];
wants = ["network-online.target"];
startAt = "9:30";
path = [ pkgs.jq pkgs.curl pkgs.recode pkgs.deno pkgs.imagemagick pkgs.gawk pkgs.gnugrep pkgs.coreutils ];