diff options
author | Scriptkiddi <fritz@otlinghaus.it> | 2021-01-29 13:01:42 +0100 |
---|---|---|
committer | Scriptkiddi <fritz@otlinghaus.it> | 2021-01-29 13:01:42 +0100 |
commit | 0cbbc2dfcd0f4a12981a073d6935aa85ef18ca9e (patch) | |
tree | 6b5d2c177c2cb2901254878da4d750aba8f72cf6 /nixos/modules/services/cluster/hadoop/default.nix | |
parent | e5ce05cc1eee0b8d890726e9826791ef95c51793 (diff) | |
download | nixpkgs-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.nix | 4 |
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"; |