summary refs log tree commit diff
path: root/nixos/modules/services/monitoring
diff options
context:
space:
mode:
authorPhilipp Hausmann <ph_git@314.ch>2017-08-25 08:57:42 +0200
committerPhilipp Hausmann <ph_git@314.ch>2017-09-25 10:39:11 +0200
commit1a23ff8a13e4f833d3d9eea2837394e712736149 (patch)
tree62ac3e384c3dbdc57ebebe3d9749f9ad2448a521 /nixos/modules/services/monitoring
parent6b788e36dff4cdcb31c2e9ed526797e8fd1f0799 (diff)
downloadnixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.tar
nixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.tar.gz
nixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.tar.bz2
nixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.tar.lz
nixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.tar.xz
nixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.tar.zst
nixlib-1a23ff8a13e4f833d3d9eea2837394e712736149.zip
FusionInventory: Code cleanup
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r--nixos/modules/services/monitoring/fusion-inventory.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixos/modules/services/monitoring/fusion-inventory.nix b/nixos/modules/services/monitoring/fusion-inventory.nix
index fdd27938ea7b..1c00f3c299e9 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.
         '';