@cryptotaxi247 / infra / commits / 0f05f7fe

adding planet.nixos.org vhost/service

Rok Garbas committed Jul 23, 2013 at 22:42 UTC 0f05f7fef30c77677d6e3c88b7908d51ced13a7e
1 file changed +19
nixos-org/webserver.nix
+19
@@ -37,6 +37,12 @@ let
37 }
38 ];
39
40 + virtualHosts =
41 + [ { documentRoot = "/var/www/planet.nixos.org";
42 + hostName = "planet.nixos.org";
43 + }
44 + ];
45 +
46 extraConfig =
47 ''
48 #<Proxy *>
@@ -285,4 +291,17 @@ in
291 '';
292 };
293
294 + services.venus = {
295 + enable = true;
296 + outputTheme = ./theme;
297 + outputDirectory = "/var/www/planet.nixos.org";
298 + feeds = [
299 + {
300 + name = "Rok Garbas";
301 + feedUrl = "http://garbas.si/blog/category/latest-plone/RSS";
302 + homepageUrl= "http://blog.garbas.si";
303 + }
304 + ];
305 + };
306 +
307 }