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