From c6ed05c10d9b5b11e623e3bb36b3f40b824691bb Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 1 Sep 2017 22:05:21 +0200 Subject: l: add Reaktor|krebs --- lass/2configs/reaktor-krebs.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lass/2configs/reaktor-krebs.nix (limited to 'lass/2configs/reaktor-krebs.nix') diff --git a/lass/2configs/reaktor-krebs.nix b/lass/2configs/reaktor-krebs.nix new file mode 100644 index 00000000..7727bbf9 --- /dev/null +++ b/lass/2configs/reaktor-krebs.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: +with import ; + +{ + 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 + ]; + }; +} -- cgit v1.2.3 From 8675e81a60b14ce8570e29cc8aae242d81363bf3 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 2 Sep 2017 16:14:53 +0200 Subject: l reaktor-krebs: show tiki-todo with nginx --- lass/2configs/reaktor-krebs.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lass/2configs/reaktor-krebs.nix') diff --git a/lass/2configs/reaktor-krebs.nix b/lass/2configs/reaktor-krebs.nix index 7727bbf9..6b17b457 100644 --- a/lass/2configs/reaktor-krebs.nix +++ b/lass/2configs/reaktor-krebs.nix @@ -18,4 +18,8 @@ with import ; wiki-todo-show ]; }; + services.nginx.virtualHosts."lassul.us".locations."/wiki-todo".extraConfig = '' + default_type "text/plain"; + alias /var/lib/Reaktor/state/wiki-todo; + ''; } -- cgit v1.2.3