-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwickie.nix
More file actions
42 lines (36 loc) · 835 Bytes
/
wickie.nix
File metadata and controls
42 lines (36 loc) · 835 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ pkgs, ... }:
{
imports =
[
./brockman/nix/module.nix
];
services.brockman = {
enable = true;
package = pkgs.haskellPackages.callPackage ./brockman {};
config = {
channel = "#hsmr";
irc = {
host = "irc.hackint.org";
port = 6697;
tls = true;
};
bots = {
wickie = {
feed = "http://localhost:3162/hsmr-recent-changes.rss";
delay = 30;
};
};
};
};
virtualisation.oci-containers.backend = "docker";
virtualisation.oci-containers.containers."html2rss" = {
ports = [ "3162:3000" ];
image = "gilcreator/html2rss-web";
volumes = [
"/etc/nixos/machines/sicily/includes/wickie/html2rss/feeds.yml:/app/config/feeds.yml"
];
environment = {
RACK_ENV = "production";
};
};
}