nixos/mail: reuse security.wrappers type

This commit is contained in:
rnhmjoj 2021-06-10 01:46:26 +02:00
parent 27dcb04cde
commit 41a498578e
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, options, lib, ... }:
with lib;
@ -11,6 +11,7 @@ with lib;
services.mail = {
sendmailSetuidWrapper = mkOption {
type = types.nullOr options.security.wrappers.type.nestedTypes.elemType;
default = null;
internal = true;
description = ''