From 4292e4b9782fd2ac6150ec35ee0aab94009b4cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 12 Nov 2023 21:41:41 +0100 Subject: [PATCH] home-assistant: fix ldap login script --- modules/home-assistant.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home-assistant.nix b/modules/home-assistant.nix index 1af54b1..321c3a6 100644 --- a/modules/home-assistant.nix +++ b/modules/home-assistant.nix @@ -52,7 +52,7 @@ in }; installPhase = '' - install -Dm755 ldap-auth-sh $out + install -Dm755 ldap-auth.sh -t $out/bin ''; solutions.default = { @@ -60,9 +60,9 @@ in inputs = with pkgs; [ coreutils curl gnugrep gnused openldap ]; interpreter = "${pkgs.bash}/bin/bash"; keep."source:$CONFIG_FILE" = true; - scripts = [ "." ]; + scripts = [ "bin/ldap-auth.sh" ]; }; - }; + }+ "/bin/ldap-auth.sh"; args = [ # https://github.com/bob1de/ldap-auth-sh/blob/master/examples/home-assistant.cfg (pkgs.writeText "config.cfg" /* shell */ ''