diff --git a/configs/default.nix b/configs/default.nix index 1ae0c92..6c392c8 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -175,7 +175,7 @@ in { zathura = swallow "${pkgs.zathura}/bin/zathura"; us = "${pkgs.systemd}/bin/systemctl --user"; wcd = "source ${wcd}"; - weechat = "${pkgs.openssh}/bin/ssh kmein@prism.r -t tmux attach"; + weechat = "${pkgs.openssh}/bin/ssh toum -t screen -x weechat/weechat-screen"; where = "source ${where}"; yt = "${pkgs.youtube-dl}/bin/youtube-dl --add-metadata -ic"; # Download video link diff --git a/systems/toum/configuration.nix b/systems/toum/configuration.nix index 9cbcfd4..720f211 100644 --- a/systems/toum/configuration.nix +++ b/systems/toum/configuration.nix @@ -35,21 +35,6 @@ in { }; } { services.keybase.enable = true; } - { - systemd.services.irc-bouncer = { - description = "IRC bouncer"; - after = [ "network.target" ]; - wantedBy = [ "multi-user.target" ]; - restartIfChanged = false; - script = "${pkgs.tmux}/bin/tmux -2 new-session -d -s IRC ${pkgs.weechat}/bin/weechat"; - preStop = "${pkgs.tmux}/bin/tmux kill-session -t IRC"; - serviceConfig = { - User = "kfm"; - RemainAfterExit = true; - Type = "oneshot"; - }; - }; - } { sound.enable = true; hardware.pulseaudio.enable = true; @@ -59,22 +44,29 @@ in { ''; } { - imports = [ ]; + imports = [ ]; - krebs.urlwatch = { - enable = true; - onCalendar = "*-*-* 05:00:00"; - sendmail.enable = false; - telegram = { - enable = true; - chatId = [ "18980945" ]; - botToken = lib.strings.fileContents ; - }; - urls = [ + krebs.urlwatch = { + enable = true; + onCalendar = "*-*-* 05:00:00"; + sendmail.enable = false; + telegram = { + enable = true; + chatId = [ "18980945" ]; + botToken = lib.strings.fileContents ; + }; + urls = [ # "https://michael-klonovsky.de/acta-diurna" ]; }; } + { + services.weechat.enable = true; + programs.screen.screenrc = '' + multiuser on + acladd ${config.users.users.me.name} + ''; + } ]; nix.nixPath = [ "/var/src" ];