From 1a23ff8a13e4f833d3d9eea2837394e712736149 Mon Sep 17 00:00:00 2001 From: Philipp Hausmann Date: Fri, 25 Aug 2017 08:57:42 +0200 Subject: [PATCH] FusionInventory: Code cleanup --- nixos/modules/services/monitoring/fusion-inventory.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/monitoring/fusion-inventory.nix b/nixos/modules/services/monitoring/fusion-inventory.nix index fdd27938ea7..1c00f3c299e 100644 --- a/nixos/modules/services/monitoring/fusion-inventory.nix +++ b/nixos/modules/services/monitoring/fusion-inventory.nix @@ -22,15 +22,10 @@ in { services.fusionInventory = { - enable = mkOption { - default = false; - description = '' - Whether to run the Fusion Inventory agent on this machine. - ''; - }; + enable = mkEnableOption "Fusion Inventory Agent"; servers = mkOption { - type = types.listOf types.string; + type = types.listOf types.str; description = '' The urls of the OCS/GLPI servers to connect to. '';