Skip to content

Commit

Permalink
feat: change caddy to use patched version
Browse files Browse the repository at this point in the history
Revert "feat: change caddy to use patched version"

This reverts commit ebb3897.

Revert "Revert "feat: change caddy to use patched version""

This reverts commit c82ef66.
  • Loading branch information
ajaxbits committed Nov 20, 2023
1 parent 5e44b78 commit 5aa7609
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/caddy/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.components.caddy;
Expand All @@ -27,7 +28,13 @@ in {
};

config = lib.mkMerge [
{services.caddy.enable = cfg.enable;}
{
services.caddy = {
enable = cfg.enable;
package = pkgs.caddy-patched;
};
systemd.services.caddy.path = [pkgs.nss];
}
monitorConfig
];
}

0 comments on commit 5aa7609

Please sign in to comment.