3
0
Fork 0
forked from mirrors/nixpkgs

confluence: fix optional sso

This commit is contained in:
Markus Mueller 2017-06-18 04:09:31 +00:00 committed by Robin Gloster
parent 02791ced34
commit c678fc385e
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -6,7 +6,7 @@ let
cfg = config.services.confluence;
pkg = pkgs.atlassian-confluence.override {
pkg = pkgs.atlassian-confluence.override (optionalAttrs cfg.sso.enable {
enableSSO = cfg.sso.enable;
crowdProperties = ''
application.name ${cfg.sso.applicationName}
@ -21,7 +21,7 @@ let
session.validationinterval ${toString cfg.sso.validationInterval}
session.lastvalidation session.lastvalidation
'';
};
});
in