WordPress: Difference between revisions
imported>Onny Update to new interface of NixOS 23.05 |
imported>Onny mNo edit summary |
||
Line 57: | Line 57: | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||
services.wordpress.sites."localhost" = { | services.wordpress.sites."localhost" = { | ||
# This interface changed in NixOS 23.05 and is recommended to use | |||
themes = { | themes = { | ||
inherit (pkgs.wordpressPackages.themes) | inherit (pkgs.wordpressPackages.themes) | ||
twentytwentytwo; | twentytwentytwo; | ||
}; | }; | ||
plugins = { | plugins = { | ||
inherit (pkgs.wordpressPackages.plugins); [ | inherit (pkgs.wordpressPackages.plugins); [ |