nixos/wpa_supplicant: ignore shellcheck nitpick

This can occur if one enables `systemd.enableStrictShellChecks`.

Shellcheck itself writes on this notice that one should use arrays in
this situation. I tried to do that, but the curly braces with nix
variable expansion gets boring very quickly. As such, we just ignore
this nitpick, as the use is reasonable here.
https://www.shellcheck.net/wiki/SC2086

Also enable `enableStrictShellChecks` to avoid regressing.
This commit is contained in:
Mynacol
2025-11-25 21:41:00 +00:00
parent 1bfe2b73f9
commit 31b1f0782d
@@ -183,8 +183,10 @@ let
}
# finally start daemon
# shellcheck disable=SC2086
exec wpa_supplicant $args
'';
enableStrictShellChecks = true;
};
systemctl = "/run/current-system/systemd/bin/systemctl";