summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/reaktor-krebs.nix
blob: 6b17b457d7ca430cba145ff32cdcfb29803e2e74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, lib, pkgs, ... }:
with import <stockholm/lib>;

{
  krebs.Reaktor.krebs = {
    nickname = "Reaktor|krebs";
    channels = [
      "#krebs"
      "#nixos-wiki"
    ];
    extraEnviron = {
      REAKTOR_HOST = "irc.freenode.org";
    };
    plugins = with pkgs.ReaktorPlugins; [
      sed-plugin
      wiki-todo-add
      wiki-todo-done
      wiki-todo-show
    ];
  };
  services.nginx.virtualHosts."lassul.us".locations."/wiki-todo".extraConfig = ''
    default_type "text/plain";
    alias /var/lib/Reaktor/state/wiki-todo;
  '';
}