From 99edf9fe53aa5a99eb0b1bcb31d5abc8eb069b32 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 20 Mar 2021 00:06:04 +0100 Subject: [PATCH] salt-pillar: remove decryptMessage trace --- nix/lib/config/salt-support/salt-pillar.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nix/lib/config/salt-support/salt-pillar.nix b/nix/lib/config/salt-support/salt-pillar.nix index da68b87..a201744 100644 --- a/nix/lib/config/salt-support/salt-pillar.nix +++ b/nix/lib/config/salt-support/salt-pillar.nix @@ -6,8 +6,7 @@ with pkgs.lib; let loadYaml = import ./load-yaml.nix { inherit pkgs; }; - decryptMessage = builtins.trace gpgKey - (x: + decryptMessage = x: if gpgKey == null then "encrypted" else @@ -21,7 +20,7 @@ let ${x} EOF '' - )); + ); decrypt = x: if builtins.isString x