diff options
Diffstat (limited to 'krebs/2configs/news.nix')
-rw-r--r-- | krebs/2configs/news.nix | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/krebs/2configs/news.nix b/krebs/2configs/news.nix index 446aaf459..f40997f82 100644 --- a/krebs/2configs/news.nix +++ b/krebs/2configs/news.nix @@ -5,12 +5,24 @@ enable = true; whitelist = [ "*" ]; }; - services.nginx.virtualHosts.rss-bridge = { - serverAliases = [ - "rss.r" - ]; + services.nginx.virtualHosts = { + rss-bridge = { + serverAliases = [ + "rss.r" + ]; + }; + "brockman.r" = { + locations."/".extraConfig = '' + root /var/lib/brockman; + index brockman.json; + ''; + }; }; + systemd.tmpfiles.rules = [ + "d /var/lib/brockman 1750 brockman nginx -" + ]; + systemd.services.brockman.environment.BROCKMAN_LOG_LEVEL = "DEBUG"; krebs.brockman = { enable = true; config = { |