summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-08 12:20:29 +0100
committerlassulus <lassulus@lassul.us>2021-01-08 12:20:29 +0100
commit947f2a600bad22a3b26656698c69208f9cee7018 (patch)
treea5e9b42570a3223ad57cd63667b64db6fa9f4b8b /krebs
parent1653101ed3f4f51408b2d264e8e4e1525d3d3730 (diff)
news: add rss-bridge as rss.r
Diffstat (limited to 'krebs')
-rw-r--r--krebs/2configs/news.nix10
-rw-r--r--krebs/3modules/krebs/default.nix1
2 files changed, 11 insertions, 0 deletions
diff --git a/krebs/2configs/news.nix b/krebs/2configs/news.nix
index 11c136f85..d61f52b29 100644
--- a/krebs/2configs/news.nix
+++ b/krebs/2configs/news.nix
@@ -1,6 +1,16 @@
{ pkgs, ... }:
{
+ services.rss-bridge = {
+ enable = true;
+ whitelist = [ "*" ];
+ };
+ services.nginx.virtualHosts.rss-bridge = {
+ serverAliases = [
+ "rss.r"
+ ];
+ };
+
krebs.brockman = {
enable = true;
config = {
diff --git a/krebs/3modules/krebs/default.nix b/krebs/3modules/krebs/default.nix
index 5e3ddcb2d..3e3e1381f 100644
--- a/krebs/3modules/krebs/default.nix
+++ b/krebs/3modules/krebs/default.nix
@@ -131,6 +131,7 @@ in {
"build.puyak.r"
"cgit.puyak.r"
"go.r"
+ "rss.r"
];
tinc.pubkey = ''
-----BEGIN RSA PUBLIC KEY-----