WordPress: Difference between revisions

imported>Onny
Add known issues
imported>Onny
Update to new interface of NixOS 23.05
Line 61: Line 61:
       twentytwentytwo;
       twentytwentytwo;
   };
   };
   plugins = with pkgs.wordpressPackages.plugins; [
  # This interface changed in NixOS 23.05 and is recommended to use
   plugins = {
    inherit (pkgs.wordpressPackages.plugins); [
       antispam-bee
       antispam-bee
       opengraph;
       opengraph;
   ];
    ];
   };
};
};
</syntaxHighlight>
</syntaxHighlight>
Line 193: Line 196:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
services.wordpress.sites."example.org" = {
services.wordpress.sites."example.org" = {
   plugins = [ pkgs.wordpressPackages.plugins.wordpress-seo ];
   plugins = {
    inherit (pkgs.wordpressPackages.plugins)
      wordpress-seo;
  };
};
};
</syntaxHighlight>
</syntaxHighlight>
Line 210: Line 216:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
services.wordpress.sites."example.org" = {
services.wordpress.sites."example.org" = {
   plugins = [ pkgs.wordpressPackages.plugins.webp-express ];
   plugins = {
    inherit (pkgs.wordpressPackages.plugins)
      webp-express;
  };
};
};


Line 248: Line 257:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
services.wordpress.sites."example.org" = {
services.wordpress.sites."example.org" = {
   plugins = [ pkgs.wordpressPackages.plugins.jetpack ];
   plugins = {
    inherit (pkgs.wordpressPackages.plugins)
      jetpack;
  };
};
};
</syntaxHighlight>
</syntaxHighlight>
Line 275: Line 287:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
services.wordpress.sites."example.org" = {
services.wordpress.sites."example.org" = {
   plugins = [ pkgs.wordpressPackages.plugins.merge-minify-refresh ];
   plugins = {
    inherit (pkgs.wordpressPackages.plugins)
      merge-minify-refresh;
  };
};
};