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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user