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

feat(toum): run irc bouncer

This commit is contained in:
2020-10-28 11:35:09 +01:00
parent 6bfaf551d2
commit 3741304284
2 changed files with 19 additions and 27 deletions

View File

@@ -175,7 +175,7 @@ in {
zathura = swallow "${pkgs.zathura}/bin/zathura"; zathura = swallow "${pkgs.zathura}/bin/zathura";
us = "${pkgs.systemd}/bin/systemctl --user"; us = "${pkgs.systemd}/bin/systemctl --user";
wcd = "source ${wcd}"; 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}"; where = "source ${where}";
yt = yt =
"${pkgs.youtube-dl}/bin/youtube-dl --add-metadata -ic"; # Download video link "${pkgs.youtube-dl}/bin/youtube-dl --add-metadata -ic"; # Download video link

View File

@@ -35,21 +35,6 @@ in {
}; };
} }
{ services.keybase.enable = true; } { 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; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
@@ -75,6 +60,13 @@ in {
]; ];
}; };
} }
{
services.weechat.enable = true;
programs.screen.screenrc = ''
multiuser on
acladd ${config.users.users.me.name}
'';
}
]; ];
nix.nixPath = [ "/var/src" ]; nix.nixPath = [ "/var/src" ];