diff --git a/module.nix b/module.nix index a3942e4..c497921 100644 --- a/module.nix +++ b/module.nix @@ -6,13 +6,7 @@ virtualHosts.localhost.locations."/" = { index = "index.html"; - root = pkgs.writeTextDir "index.html" '' - - - Hello World! - - - ''; + root = ./www; }; }; }; diff --git a/www/index.html b/www/index.html new file mode 100644 index 0000000..8630255 --- /dev/null +++ b/www/index.html @@ -0,0 +1,23 @@ + + + + + +