migration hadi.diy > hadi.icu

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-03-25 20:30:02 +01:00
parent e4a2a7abd0
commit 9a41aff92d
7 changed files with 358 additions and 124 deletions

View File

@@ -0,0 +1,25 @@
{
inputs,
pkgs,
...
}: {
services = {
nginx.virtualHosts."wall.local" = {
root = "${inputs.awesome-wallpapers.packages.${pkgs.system}.default}/share/awesome-wallpapers";
listen = [
{
addr = "127.0.0.1";
port = 8759;
}
];
locations."/" = {
tryFiles = "$uri $uri/ /index.html";
};
extraConfig = ''
port_in_redirect off;
absolute_redirect off;
'';
};
cloudflared.tunnels."a1dfa315-7fc3-4a65-8c02-8387932c35c3".ingress."wallpapers.hadi.icu" = "http://127.0.0.1:8759";
};
}