summary refs log tree commit diff
path: root/nixos/modules/services/cluster/hadoop/default.nix
diff options
context:
space:
mode:
authorScriptkiddi <fritz@otlinghaus.it>2021-01-29 13:01:42 +0100
committerScriptkiddi <fritz@otlinghaus.it>2021-01-29 13:01:42 +0100
commit0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e (patch)
tree6b5d2c177c2cb2901254878da4d750aba8f72cf6 /nixos/modules/services/cluster/hadoop/default.nix
parente5ce05cc1eee0b8d890726e9826791ef95c51793 (diff)
downloadnixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.tar
nixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.tar.gz
nixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.tar.bz2
nixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.tar.lz
nixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.tar.xz
nixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.tar.zst
nixpkgs-0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e.zip
nixos/hadoop: add types
Diffstat (limited to 'nixos/modules/services/cluster/hadoop/default.nix')
-rw-r--r--nixos/modules/services/cluster/hadoop/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/cluster/hadoop/default.nix b/nixos/modules/services/cluster/hadoop/default.nix
index 171d4aced65..41ac46e538e 100644
--- a/nixos/modules/services/cluster/hadoop/default.nix
+++ b/nixos/modules/services/cluster/hadoop/default.nix
@@ -7,6 +7,7 @@ with lib;
   options.services.hadoop = {
     coreSite = mkOption {
       default = {};
+      type = types.attrsOf types.anything;
       example = literalExample ''
         {
           "fs.defaultFS" = "hdfs://localhost";
@@ -17,6 +18,7 @@ with lib;
 
     hdfsSite = mkOption {
       default = {};
+      type = types.attrsOf types.anything;
       example = literalExample ''
         {
           "dfs.nameservices" = "namenode1";
@@ -27,6 +29,7 @@ with lib;
 
     mapredSite = mkOption {
       default = {};
+      type = types.attrsOf types.anything;
       example = literalExample ''
         {
           "mapreduce.map.cpu.vcores" = "1";
@@ -37,6 +40,7 @@ with lib;
 
     yarnSite = mkOption {
       default = {};
+      type = types.attrsOf types.anything;
       example = literalExample ''
         {
           "yarn.resourcemanager.ha.id" = "resourcemanager1";