Commit 69a8aba1 authored by Léo Gaspard's avatar Léo Gaspard Committed by Léo Gaspard
Browse files

nixos/opensmtpd: run nixfmt as requested by ci

parent fb4ff06a
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -113,11 +113,13 @@ in
      source = "${cfg.package}/bin/smtpctl";
    };

    services.mail.sendmailSetuidWrapper = lib.mkIf cfg.setSendmail
      (security.wrappers.smtpctl // {
    services.mail.sendmailSetuidWrapper = lib.mkIf cfg.setSendmail (
      security.wrappers.smtpctl
      // {
        source = "${sendmail}/bin/sendmail";
        program = "sendmail";
      });
      }
    );

    systemd.tmpfiles.rules = [
      "d /var/spool/smtpd 711 root - - -"
+19 −17
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@ import ./make-test-python.nix {
            }
          ];
        };
        environment.systemPackages = let
        environment.systemPackages =
          let
            testSendmail = pkgs.writeScriptBin "test-sendmail" ''
              #!/bin/sh
              set -euxo pipefail
@@ -30,7 +31,8 @@ import ./make-test-python.nix {
              EOF
              echo "=========== FINISHED SENDING" >&2
            '';
        in [
          in
          [
            pkgs.opensmtpd
            testSendmail
          ];