WordPress: Difference between revisions
imported>Onny mNo edit summary |
imported>Onny Update themes and plugins option two new attrs format |
||
| Line 57: | Line 57: | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||
services.wordpress.sites."localhost" = { | services.wordpress.sites."localhost" = { | ||
themes = | themes = { | ||
plugins = | inherit (pkgs.wordpressPackages.themes) | ||
twentytwentytwo; | |||
}; | |||
plugins = { | |||
inherit (pkgs.wordpressPackages.plugins) | |||
antispam-bee | |||
opengraph; | |||
}; | |||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 83: | Line 87: | ||
services.wordpress.sites."localhost" = { | services.wordpress.sites."localhost" = { | ||
themes = | themes = { | ||
inherit (pkgs.wordpressPackages.themes) | |||
wordpress-theme-responsive; | |||
}; | |||
}; | }; | ||