Skip to content

Commit

Permalink
Revert "feat: try new caddy package"
Browse files Browse the repository at this point in the history
This reverts commit a3bc5be.
  • Loading branch information
ajaxbits committed Nov 20, 2023
1 parent a3bc5be commit 75f153c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 0 additions & 2 deletions components/caddy/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.components.caddy;
Expand Down Expand Up @@ -29,7 +28,6 @@ in {

config = lib.mkMerge [
{services.caddy.enable = cfg.enable;}
{services.caddy.package = pkgs.cloudflare-caddy;}
monitorConfig
];
}
14 changes: 7 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# custom pkgs
caddy = {
url = "github:burmudar/nix-cloudflare-caddy";
url = "github:ajaxbits/nixos-caddy-patched";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Expand Down Expand Up @@ -60,7 +60,9 @@
pkgs = import nixpkgs {
inherit system;
overlays = [
caddy.overlay
(_self: super: {
caddy-patched = caddy.packages.${system}.caddy;
})
];
};
pkgsUnfree = unfree.legacyPackages.${system};
Expand Down

0 comments on commit 75f153c

Please sign in to comment.