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" = {}; | ||
}; | |||
</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 ]; | ||
extraConfig = '' | extraConfig = '' | ||
define ('WPLANG', 'de_DE'); | define ('WPLANG', 'de_DE'); | ||
| Line 63: | Line 60: | ||
opengraph | opengraph | ||
]; | ]; | ||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 86: | Line 82: | ||
services.wordpress.sites."localhost" = { | services.wordpress.sites."localhost" = { | ||
themes = [ wordpress-plugin-responsive ]; | themes = [ wordpress-plugin-responsive ]; | ||
}; | }; | ||