diff options
author | Peter Simons <simons@cryp.to> | 2017-08-11 09:36:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-11 09:36:58 +0200 |
commit | 1b30d15369ed4c1d496f410e98fec6a8fd452c0f (patch) | |
tree | d9bc8c453a16dcca55186de93515338b711ae0b6 /nixos/modules/services/mail | |
parent | 7c9cadfb6c0b420d5b164766473c3bb21f499ee1 (diff) | |
parent | 9186dda4a9a519aeb73b68358ff9e4af911647c3 (diff) | |
download | nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.tar nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.tar.gz nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.tar.bz2 nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.tar.lz nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.tar.xz nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.tar.zst nixlib-1b30d15369ed4c1d496f410e98fec6a8fd452c0f.zip |
Merge pull request #28123 from jerith666/post-fix-up
Post fix up
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r-- | nixos/modules/services/mail/postfix.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index 94db0ac0eea5..01ae49d49090 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -213,8 +213,8 @@ let wakeupDefined = options.wakeup.isDefined; wakeupUCDefined = options.wakeupUnusedComponent.isDefined; finalValue = toString config.wakeup - + optionalString (!config.wakeupUnusedComponent) "?"; - in if wakeupDefined && wakeupUCDefined then finalValue else "-"; + + optionalString (wakeupUCDefined && !config.wakeupUnusedComponent) "?"; + in if wakeupDefined then finalValue else "-"; in [ config.name |