atlassian services: allow overriding package (#55685)
This commit is contained in:
committed by
Franz Pletz
parent
2d022e7fa2
commit
ab912cf744
@@ -6,7 +6,7 @@ let
|
||||
|
||||
cfg = config.services.confluence;
|
||||
|
||||
pkg = pkgs.atlassian-confluence.override (optionalAttrs cfg.sso.enable {
|
||||
pkg = cfg.package.override (optionalAttrs cfg.sso.enable {
|
||||
enableSSO = cfg.sso.enable;
|
||||
crowdProperties = ''
|
||||
application.name ${cfg.sso.applicationName}
|
||||
@@ -125,7 +125,12 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.atlassian-confluence;
|
||||
defaultText = "pkgs.atlassian-confluence";
|
||||
description = "Atlassian Confluence package to use.";
|
||||
};
|
||||
|
||||
jrePackage = mkOption {
|
||||
type = types.package;
|
||||
|
||||
Reference in New Issue
Block a user