phantom: add a top level domain page

This commit is contained in:
Leonardo Eugênio 2024-04-09 00:42:40 -03:00
parent 3bf20808b5
commit bf382371cb

View file

@ -15,6 +15,24 @@
./forgejo.nix ./forgejo.nix
]; ];
services.nginx.virtualHosts."lelgenio.xyz" = {
enableACME = true;
forceSSL = true;
root = pkgs.runCommand "www-dir" { } ''
mkdir -p $out
cat > $out/index.html <<EOF
<!DOCTYPE html>
<html lang="en">
<body>
<h1>
Nothing to see here!
<h1>
</body>
</html>
EOF
'';
};
# # Enable networking # # Enable networking
# networking.networkmanager.enable = true; # networking.networkmanager.enable = true;
# Set your time zone. # Set your time zone.