From cba9e3c63e9962eb4af53e01e988aa2847d2eba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 24 Apr 2022 22:10:19 +0100 Subject: [PATCH] Use double quotes instead of single quotes for string interpolation --- modules/hostapd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hostapd.nix b/modules/hostapd.nix index 028a9892..21d67816 100644 --- a/modules/hostapd.nix +++ b/modules/hostapd.nix @@ -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 =