aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/monitoring.nix19
1 files changed, 11 insertions, 8 deletions
diff --git a/nixos/modules/monitoring.nix b/nixos/modules/monitoring.nix
index e08ae14..7a9e7b7 100644
--- a/nixos/modules/monitoring.nix
+++ b/nixos/modules/monitoring.nix
@@ -92,14 +92,17 @@ in {
}
];
wireless = [{}];
- }) // (optionaAttrs cnf.speedtest {
- exec = [{
- commands = ["${pkgs.speedtest-cli}/bin/speedtest --json"];
- name_override = "speedtest";
- timeout = "5m";
- interval = "15m";
- data_format = "json";
- }];
+ })
+ // (optionalAttrs cnf.speedtest {
+ exec = [
+ {
+ commands = ["${pkgs.speedtest-cli}/bin/speedtest --json"];
+ name_override = "speedtest";
+ timeout = "5m";
+ interval = "15m";
+ data_format = "json";
+ }
+ ];
});
};
};