Enabled back Dashy

This commit is contained in:
pazpi 2025-12-09 22:30:01 +01:00
parent 8b2e73192d
commit 266b891598
3 changed files with 266 additions and 39 deletions

View file

@ -39,6 +39,14 @@ in
'';
};
subdomain = lib.mkOption {
default = "casa";
type = lib.types.str;
description = ''
The subdomain where Dashy is reachable
'';
};
};
};
@ -54,7 +62,7 @@ in
(lib.mkIf cfg.proxy.enable {
services.caddy = with cfg.proxy; {
virtualHosts."home.${domain}".extraConfig = ''
virtualHosts."${subdomain}.${domain}".extraConfig = ''
root * ${config.services.dashy.finalDrv}
file_server
import cloudflare_${domain}