diff options
author | makefu <github@syntax-fehler.de> | 2017-04-24 23:21:28 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-04-24 23:21:28 +0200 |
commit | 96fcce0e7c95460ce55ba644cab60580547a2981 (patch) | |
tree | a451be5fea625b45bdc12000ecadf7b540a1d7c7 | |
parent | 4144cff1a1c4c6b90cb85f9b859794c1570df3e3 (diff) |
m 1 gum: add newsbot deployment
-rw-r--r-- | makefu/1systems/gum.nix | 1 | ||||
-rw-r--r-- | makefu/2configs/deployment/newsbot.nix | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/makefu/1systems/gum.nix b/makefu/1systems/gum.nix index 3186f8887..4850aedc1 100644 --- a/makefu/1systems/gum.nix +++ b/makefu/1systems/gum.nix @@ -27,6 +27,7 @@ in { ## Web ../2configs/deployment/owncloud.nix + ../2configs/deployment/newsbot.nix ../2configs/nginx/share-download.nix ../2configs/nginx/euer.test.nix ../2configs/nginx/euer.wiki.nix diff --git a/makefu/2configs/deployment/newsbot.nix b/makefu/2configs/deployment/newsbot.nix new file mode 100644 index 000000000..748803447 --- /dev/null +++ b/makefu/2configs/deployment/newsbot.nix @@ -0,0 +1,18 @@ +{ config, pkgs, ... }: + +let + newsfile = pkgs.writeText "feeds" '' + nixoswiki-bot|https://github.com/Mic92/nixos-wiki/wiki.atom|#krebs + ''; +in { + environment.systemPackages = [ + pkgs.newsbot-js + ]; + krebs.newsbot-js = { + enable = true; + ircServer = "chat.freenode.net"; + feeds = newsfile; + urlShortenerHost = "go"; + urlShortenerPort = "80"; + }; +} |