From 409b515df3ed30c1aa63229ddabf03cc8dfb203b Mon Sep 17 00:00:00 2001 From: Maurice Debray Date: Thu, 31 Mar 2022 11:50:41 +0200 Subject: [PATCH] Nouveau site de test --- hosts/hackens-org/test-static.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/hackens-org/test-static.nix b/hosts/hackens-org/test-static.nix index 8a0094a..f3146d6 100644 --- a/hosts/hackens-org/test-static.nix +++ b/hosts/hackens-org/test-static.nix @@ -1,4 +1,7 @@ { config, ... }: { - services.staticWebsite.test.hostname = "test.${config.my.subZone}"; + services.staticWebsite.test = { + hostname = "test.${config.my.subZone}"; + root = pkgs.writeTextDir "index.html" "Hello world!"; + }; }