refactor(caddy): use centralized caddyWithHetzner package definition
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m28s

This commit is contained in:
uttarayan21
2025-08-29 15:56:20 +05:30
parent 0b23cfc75d
commit 3d2f53e8f5
9 changed files with 183 additions and 162 deletions

View File

@@ -31,10 +31,11 @@
}
}
'';
package = pkgs.caddy.withPlugins {
plugins = ["github.com/caddy-dns/hetzner@v1.0.0"];
hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
};
# package = pkgs.caddy.withPlugins {
# plugins = ["github.com/caddy-dns/hetzner@v1.0.0"];
# hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
# };
package = pkgs.caddyWithHetzner;
};
};
systemd.services.caddy = {