ldap module: fix activationScripts declaration

authored by Markus Mueller and committed by Franz Pletz 19ee3baa 3f22610b

+1 -1
+1 -1
nixos/modules/config/ldap.nix
··· 192 192 system.activationScripts = mkIf insertLdapPassword { 193 193 ldap = stringAfter [ "etc" "groups" "users" ] '' 194 194 if test -f "${cfg.bind.password}" ; then 195 - echo "bindpw "$(cat ${cfg.bind.password})"" | cat ${ldapConfig} - > /etc/ldap.conf.bindpw 195 + echo "bindpw "$(cat ${cfg.bind.password})"" | cat ${ldapConfig.source} - > /etc/ldap.conf.bindpw 196 196 mv -fT /etc/ldap.conf.bindpw /etc/ldap.conf 197 197 chmod 600 /etc/ldap.conf 198 198 fi