refactor: mapAttrsFlatten -> mapAttrsToList

This commit is contained in:
DavHau
2024-12-16 23:50:12 +07:00
parent 9f42196826
commit f941decd07

View File

@@ -70,7 +70,7 @@ in
${pkgs.findutils}/bin/find /var/lib/iwd -type l -exec rm {} \; ${pkgs.findutils}/bin/find /var/lib/iwd -type l -exec rm {} \;
${toString ( ${toString (
lib.mapAttrsFlatten (name: network: '' lib.mapAttrsToList (name: network: ''
passwd=$(cat "${secret_path name}") passwd=$(cat "${secret_path name}")
ssid=$(cat "${ssid_path name}") ssid=$(cat "${ssid_path name}")
echo " echo "