We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab86dfa commit 62c4eefCopy full SHA for 62c4eef
1 file changed
lenovo/thinkpad/x13s/default.nix
@@ -91,10 +91,13 @@ in
91
$[RANDOM%256])"
92
fi
93
94
+ # bluetooth module can be slow to get ready
95
+ # would like to find a better way to handle this.
96
while ! [ -d /sys/class/bluetooth ] ; do
- echo "waiting for bluetooth"
97
sleep 5
98
+ echo "waiting for bluetooth"
99
done
100
+ sleep 5
101
102
echo "assigning mac: $BLUETOOTH_MAC"
103
yes | ${config.hardware.bluetooth.package}/bin/btmgmt --index 0 public-addr $BLUETOOTH_MAC
0 commit comments