summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2022-01-08 16:47:26 +0530
committerillustris <rharikrishnan95@gmail.com>2022-03-11 14:18:44 +0530
commitc82d48913f581a5c878e9f31075c23563f92b9a3 (patch)
tree56d7bce3ee4036c2f3cb7a9fff4a24e1735698fd /nixos
parent0f97c9ae82bae1d445b14483864d784e1245204e (diff)
downloadnixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.tar
nixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.tar.gz
nixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.tar.bz2
nixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.tar.lz
nixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.tar.xz
nixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.tar.zst
nixpkgs-c82d48913f581a5c878e9f31075c23563f92b9a3.zip
nixos/hadoop: add HADOOP_CONF_DIR to env
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/cluster/hadoop/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/cluster/hadoop/default.nix b/nixos/modules/services/cluster/hadoop/default.nix
index a1a95fe31ca..0adedaf1906 100644
--- a/nixos/modules/services/cluster/hadoop/default.nix
+++ b/nixos/modules/services/cluster/hadoop/default.nix
@@ -169,6 +169,7 @@ with lib;
         etc."hadoop-conf".source = let
           hadoopConf = "${import ./conf.nix { inherit cfg pkgs lib; }}/";
         in "${hadoopConf}";
+        variables.HADOOP_CONF_DIR = "/etc/hadoop-conf/";
       };
     })