From 7935957938fb4bd73b557e42fa828b1470979777 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 8 Feb 2020 14:06:57 +0000 Subject: refactor(web): Move nginx setup to //web/homepage The homepage is going to be the landing page for all content, whether it be blog posts or other stuff. --- web/homepage/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/homepage/default.nix (limited to 'web/homepage/default.nix') diff --git a/web/homepage/default.nix b/web/homepage/default.nix new file mode 100644 index 000000000000..94dfaf3dc6f1 --- /dev/null +++ b/web/homepage/default.nix @@ -0,0 +1,15 @@ +# Assembles the website index and configures an nginx instance to +# serve it. +# +# The website is made up of a simple header&footer and content +# elements for things such as blog posts and projects. +# +# Content for the blog is in //web/blog instead of here. +{ pkgs, lib, ... }: + +with pkgs; +with nix.yants; + +third_party.callPackage ./nginx.nix { + blog = web.blog; +} -- cgit 1.4.1