Compare commits

...

2 commits

Author SHA1 Message Date
Leonardo Eugênio bf382371cb phantom: add a top level domain page 2024-04-09 00:42:40 -03:00
Leonardo Eugênio 3bf20808b5 nextcloud: fix ssl certificates 2024-04-08 23:38:49 -03:00
2 changed files with 23 additions and 0 deletions

View file

@ -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 <<EOF
<!DOCTYPE html>
<html lang="en">
<body>
<h1>
Nothing to see here!
<h1>
</body>
</html>
EOF
'';
};
# # Enable networking
# networking.networkmanager.enable = true;
# Set your time zone.

View file

@ -9,6 +9,11 @@
};
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
};
age = {
secrets.phantom-nextcloud = {
file = ../../secrets/phantom-nextcloud.age;