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

feat(toum): add irc-bouncer

This commit is contained in:
2020-10-27 19:06:58 +01:00
parent 2fbf1f8ee6
commit 29385fdfac

View File

@@ -35,6 +35,21 @@ 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;