WordPress: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
Remove adminAddr option which hopefully gets optional in 22.11
Line 8: Line 8:


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
services.wordpress.sites."localhost" = {
services.wordpress.sites."localhost" = {};
  virtualHost.adminAddr = "hello@example.org";
};
</syntaxHighlight>
</syntaxHighlight>


Line 24: Line 22:
services.wordpress.sites."localhost" = {
services.wordpress.sites."localhost" = {
   languages = [ pkgs.wordpressPackages.languages.de_DE ];
   languages = [ pkgs.wordpressPackages.languages.de_DE ];
  virtualHost.adminAddr = "hello@example.org";
   extraConfig = ''
   extraConfig = ''
     define ('WPLANG', 'de_DE');
     define ('WPLANG', 'de_DE');
Line 63: Line 60:
     opengraph
     opengraph
   ];
   ];
  virtualHost.adminAddr = "hello@example.org";
};
};
</syntaxHighlight>
</syntaxHighlight>
Line 86: Line 82:
   services.wordpress.sites."localhost" = {
   services.wordpress.sites."localhost" = {
     themes = [ wordpress-plugin-responsive ];
     themes = [ wordpress-plugin-responsive ];
    virtualHost.adminAddr = "hello@example.org";
   };
   };