module(wp): link domain to conf
This commit is contained in:
parent
acac6b316d
commit
787694bd1d
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ let
|
||||||
cfg = config.services.wordpress;
|
cfg = config.services.wordpress;
|
||||||
callPackage = pkgs.callPackage;
|
callPackage = pkgs.callPackage;
|
||||||
appConfig = (import ./default-app-config.nix).extend (self: super: {
|
appConfig = (import ./default-app-config.nix).extend (self: super: {
|
||||||
|
inherit (cfg) domain;
|
||||||
wpConfig = super.wpConfig.extend (self: super: {
|
wpConfig = super.wpConfig.extend (self: super: {
|
||||||
secrets = cfg.wpConfigSecrets;
|
secrets = cfg.wpConfigSecrets;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue