m 1 gum: add newsbot deployment
This commit is contained in:
parent
4144cff1a1
commit
96fcce0e7c
@ -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
|
||||
|
18
makefu/2configs/deployment/newsbot.nix
Normal file
18
makefu/2configs/deployment/newsbot.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user