Skip to content

Commit 2d66fab

Browse files
author
Shay Bergmann
committed
Use cfg as per convention
1 parent d380944 commit 2d66fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/telegraf.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ in {
5858
};
5959

6060
###### implementation
61-
config = mkIf config.services.telegraf.enable {
61+
config = mkIf cfg.enable {
6262
systemd.services.telegraf = {
6363
description = "Telegraf Agent";
6464
wantedBy = [ "multi-user.target" ];

0 commit comments

Comments
 (0)