Skip to content

Commit

Permalink
default.nix: add new sasl configuration option
Browse files Browse the repository at this point in the history
  • Loading branch information
eqyiel committed Sep 11, 2018
1 parent 03434e6 commit f0842d6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ let
port: ${toString s.port},
ssl: ${boolToStr s.ssl},
sslselfsign: ${boolToStr s.sslselfsign},
sasl: ${boolToStr s.sasl},
${optionalString (s.password != null) ''
password: "${s.password}",
''}
Expand Down Expand Up @@ -217,6 +218,15 @@ in {
'';
default = false;
};
sasl = mkOption {
type = types.bool;
description = ''
Should the connection attempt to identify via SASL (if a server or
user password is given) If false, this will use PASS instead. If
SASL fails, we do not fallback to PASS.
'';
default = false;
};
password = mkOption {
type = types.nullOr types.str;
description = ''
Expand Down

0 comments on commit f0842d6

Please sign in to comment.