3
0
Fork 0
forked from mirrors/nixpkgs

nixos/prometheus/postfix: enable systemd by default

This commit is contained in:
Linus Heckemann 2020-09-25 14:29:16 +02:00
parent e80fa27968
commit edcb73f6b5

View file

@ -42,9 +42,13 @@ in
'';
};
systemd = {
enable = mkEnableOption ''
reading metrics from the systemd-journal instead of from a logfile
'';
enable = mkOption {
type = types.bool;
default = true;
description = ''
Whether to enable reading metrics from the systemd journal instead of from a logfile
'';
};
unit = mkOption {
type = types.str;
default = "postfix.service";