Add weechat tmux service to beefcake

This commit is contained in:
Daniel Flanagan 2023-11-03 14:13:44 -05:00
parent bd9d9a56f3
commit f3524267b8
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -255,6 +255,15 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
environment.systemPackages = [pkgs.linuxquota];
systemd.services.weechat-in-tmux = {
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${pkgs.tmux}/bin/tmux -2 new-session -d -s weechat ${pkgs.weechat}/bin/weechat";
ExecStop = "${pkgs.tmux}/bin/tmux kill-session -t weechat";
};
};
# TODO: make the client declarative? right now I think it's manually git
# clone'd to /root
systemd.services.deno-netlify-ddns-client = {