summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2021-09-22 22:01:39 +0200
committerGitHub <noreply@github.com>2021-09-22 22:01:39 +0200
commitd30701f2f17c18ca3096327dea5a6d09e26e8721 (patch)
treef01e27e6c86aacd9ec03c8b3bd5e5a648e63c696 /nixos
parent586247ebaf8a28d1af28bc45643e2dfdfc3ac2b5 (diff)
downloadnixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.tar
nixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.tar.gz
nixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.tar.bz2
nixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.tar.lz
nixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.tar.xz
nixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.tar.zst
nixpkgs-d30701f2f17c18ca3096327dea5a6d09e26e8721.zip
nixos/opensmtpd: Add missing brackets in config (#138989)
* nixos/opensmtpd: Add missing brackets in config

Without this commit, you end up missing the sendmail suid wrapper,
because the "program" attribute would not override the right thing.

* Update nixos/modules/services/mail/opensmtpd.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/mail/opensmtpd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/opensmtpd.nix b/nixos/modules/services/mail/opensmtpd.nix
index dc209e8add4..ef7d53e7d92 100644
--- a/nixos/modules/services/mail/opensmtpd.nix
+++ b/nixos/modules/services/mail/opensmtpd.nix
@@ -111,7 +111,7 @@ in {
     };
 
     services.mail.sendmailSetuidWrapper = mkIf cfg.setSendmail
-      security.wrappers.smtpctl // { program = "sendmail"; };
+      (security.wrappers.smtpctl // { program = "sendmail"; });
 
     systemd.tmpfiles.rules = [
       "d /var/spool/smtpd 711 root - - -"