trying caddy-tailscale

This commit is contained in:
Elias Gasparis 2026-03-28 08:36:50 +08:00
commit dc3bdc5847
2 changed files with 11 additions and 3 deletions

View file

@ -12,7 +12,7 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./services/jellyfin.nix ./services/jellyfin.nix
# ./services/caddy.nix ./services/caddy.nix
# ./services/authentik.nix # ./services/authentik.nix
# ./services/calibre-web.nix # ./services/calibre-web.nix
# ./services/glances.nix # ./services/glances.nix

View file

@ -4,8 +4,16 @@
services.caddy = { services.caddy = {
enable = true; enable = true;
package = pkgs.caddy.withPlugins { package = pkgs.caddy.withPlugins {
plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ]; pkgs.caddy.withPlugins {
hash = "sha256-5mjD0CY7f5+sRtV1rXysj8PvId2gQaWiXlIaTg2Lv8A="; plugins = [
"github.com/jasonlovesdoggo/caddy-defender@v0.8.5"
"github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556"
];
hash = "";
}
# plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ];
# hash = "sha256-5mjD0CY7f5+sRtV1rXysj8PvId2gQaWiXlIaTg2Lv8A=";
}; };
configFile = ./Caddyfile; configFile = ./Caddyfile;
}; };