This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ pkgs, ... }: 2let 3 weechat = pkgs.weechat.override { 4 configure = 5 { ... }: 6 { 7 scripts = with pkgs.weechatScripts; [ 8 weechat-matrix 9 ]; 10 }; 11 }; 12 13 tmux = "/run/current-system/sw/bin/tmux"; 14 15in 16{ 17 imports = [ 18 ./bitlbee.nix 19 ]; 20 environment.systemPackages = [ weechat ]; 21 systemd.services.chat = { 22 description = "chat environment setup"; 23 environment.WEECHAT_HOME = "\$HOME/.weechat"; 24 after = [ "network.target" ]; 25 wantedBy = [ "multi-user.target" ]; 26 27 restartIfChanged = false; 28 29 path = [ 30 pkgs.rxvt-unicode-unwrapped.terminfo 31 ]; 32 33 serviceConfig = { 34 User = "lass"; 35 RemainAfterExit = true; 36 Type = "oneshot"; 37 ExecStart = "${tmux} -2 new-session -d -s IM ${weechat}/bin/weechat"; 38 ExecStop = "${tmux} kill-session -t IM"; # TODO run save in weechat 39 }; 40 }; 41}