refactor: mapAttrsFlatten -> mapAttrsToList
This commit is contained in:
@@ -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 "
|
||||||
|
|||||||
Reference in New Issue
Block a user