forked from mirrors/nixpkgs
confluence: fix optional sso
This commit is contained in:
parent
02791ced34
commit
c678fc385e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue