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 1c952b3 commit 2a2e0b3Copy full SHA for 2a2e0b3
1 file changed
lenovo/thinkpad/x13s/default.nix
@@ -63,7 +63,7 @@ in
63
restartIfChanged = false;
64
65
script = ''
66
- BLUETOOTH_MAC="${if cfg.bluetoothMac == null then "" else cfg.bluetoothMac}"
+ BLUETOOTH_MAC="${lib.optionalString (cfg.bluetoothMac != null) cfg.bluetoothMac}"
67
68
if [ "$BLUETOOTH_MAC" = "" ] ; then
69
echo 'generating bluetooth mac'
0 commit comments