module(wp): link domain to conf

This commit is contained in:
Raito Bezarius 2021-11-22 23:22:17 +01:00
parent acac6b316d
commit 787694bd1d

View file

@ -4,6 +4,7 @@ let
cfg = config.services.wordpress;
callPackage = pkgs.callPackage;
appConfig = (import ./default-app-config.nix).extend (self: super: {
inherit (cfg) domain;
wpConfig = super.wpConfig.extend (self: super: {
secrets = cfg.wpConfigSecrets;
});