update wordpress config
This commit is contained in:
parent
69b41e947f
commit
e9890b6823
1 changed files with 48 additions and 0 deletions
|
@ -19,8 +19,56 @@
|
|||
extraConfig = ''
|
||||
$_SERVER['HTTPS']='on';
|
||||
'';
|
||||
|
||||
plugins = {
|
||||
inherit
|
||||
(pkgs.wordpress-plugins)
|
||||
google-sitemap-generator
|
||||
indieweb
|
||||
pubsubhubbub
|
||||
indieweb-post-kinds
|
||||
indeiauth
|
||||
syndication-links
|
||||
micropub
|
||||
webmention
|
||||
activitypub
|
||||
friends
|
||||
hum
|
||||
webfinger
|
||||
nodeinfo
|
||||
classic-editor
|
||||
wordpress-seo
|
||||
ilab-media-tools
|
||||
translatepress-multilingual
|
||||
webp-express
|
||||
jetpack
|
||||
;
|
||||
};
|
||||
themes = {
|
||||
inherit
|
||||
(pkgs.wordpress-themes)
|
||||
sempress
|
||||
twentytwentythree
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
wordpress = super.wordpress.overrideAttrs (oldAttrs: {
|
||||
installPhase =
|
||||
oldAttrs.installPhase
|
||||
+ ''
|
||||
ln -s /var/lib/wordpress/lotte.chir.rs/webp-express $out/share/wordpress/wp-content/webp-express
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '/var/lib/wordpress/lotte.chir.rs/webp-express' 0750 wordpress acme - -"
|
||||
];
|
||||
|
||||
services.caddy.virtualHosts."lotte.chir.rs" = {
|
||||
useACMEHost = "chir.rs";
|
||||
logFormat = lib.mkForce "";
|
||||
|
|
Loading…
Reference in a new issue