rename patches directory to overlays

This commit is contained in:
Noah Masur
2023-02-20 20:00:54 -05:00
parent 6cd22bc7ce
commit 86aa02aae4
5 changed files with 9 additions and 11 deletions

View File

@ -20,16 +20,6 @@
};
};
# Fix: https://github.com/janeczku/calibre-web/issues/2422
nixpkgs.overlays = [
(final: prev: {
calibre-web = prev.calibre-web.overrideAttrs (old: {
patches = (old.patches or [ ])
++ [ ../../patches/calibre-web-cloudflare.patch ];
});
})
];
caddy.routes = [{
match = [{ host = [ config.bookServer ]; }];
handle = [{