mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
rename patches directory to overlays
This commit is contained in:
parent
6cd22bc7ce
commit
86aa02aae4
@ -112,7 +112,8 @@
|
|||||||
overlays = [
|
overlays = [
|
||||||
inputs.nur.overlay
|
inputs.nur.overlay
|
||||||
inputs.nix2vim.overlay
|
inputs.nix2vim.overlay
|
||||||
(import ./modules/neovim/plugins-overlay.nix inputs)
|
(import ./overlays/neovim-plugins.nix inputs)
|
||||||
|
(import ./overlays/calibre-web.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
# System types to support.
|
# System types to support.
|
||||||
|
@ -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 = [{
|
caddy.routes = [{
|
||||||
match = [{ host = [ config.bookServer ]; }];
|
match = [{ host = [ config.bookServer ]; }];
|
||||||
handle = [{
|
handle = [{
|
||||||
|
7
overlays/calibre-web.nix
Normal file
7
overlays/calibre-web.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Fix: https://github.com/janeczku/calibre-web/issues/2422
|
||||||
|
|
||||||
|
final: prev: {
|
||||||
|
calibre-web = prev.calibre-web.overrideAttrs (old: {
|
||||||
|
patches = (old.patches or [ ]) ++ [ ./calibre-web-cloudflare.patch ];
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user