From bf382371cb4c95601817768373aa239f0f062f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 9 Apr 2024 00:42:40 -0300 Subject: [PATCH] phantom: add a top level domain page --- hosts/phantom/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hosts/phantom/default.nix b/hosts/phantom/default.nix index 782b783..9cb639f 100644 --- a/hosts/phantom/default.nix +++ b/hosts/phantom/default.nix @@ -15,6 +15,24 @@ ./forgejo.nix ]; + services.nginx.virtualHosts."lelgenio.xyz" = { + enableACME = true; + forceSSL = true; + root = pkgs.runCommand "www-dir" { } '' + mkdir -p $out + cat > $out/index.html < + + +

+ Nothing to see here! +

+ + + EOF + ''; + }; + # # Enable networking # networking.networkmanager.enable = true; # Set your time zone.