Use double quotes instead of single quotes for string interpolation
This commit is contained in:
parent
b2eb3a2844
commit
cba9e3c63e
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ in
|
|||
|
||||
preStart = mkIf (cfg.wpaPassphraseFile != null) ''
|
||||
PASSPHRASE=$(cat ${cfg.wpaPassphraseFile})
|
||||
sed 's|#WPA_PASSPHRASE#|$PASSPHRASE|g' ${configFile} > /run/hostapd/hostapd.conf
|
||||
sed "s|#WPA_PASSPHRASE#|$PASSPHRASE|g" ${configFile} > /run/hostapd/hostapd.conf
|
||||
'';
|
||||
|
||||
serviceConfig =
|
||||
|
|
Loading…
Reference in a new issue