From fbf681227517914eaa409d1cb265fe98a625351d Mon Sep 17 00:00:00 2001 From: wrvsrx Date: Tue, 28 Jan 2025 11:52:21 +0800 Subject: [PATCH] nixos/wireless: fix indentation of extraConfig --- nixos/modules/services/networking/wpa_supplicant.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix index 69c3f25d1870c..f4caf21dc3b25 100644 --- a/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixos/modules/services/networking/wpa_supplicant.nix @@ -94,7 +94,7 @@ let ++ optional (pskString != null) "psk=${pskString}" ++ optionals (opts.auth != null) (filter (x: x != "") (splitString "\n" opts.auth)) ++ optional (opts.priority != null) "priority=${toString opts.priority}" - ++ optional (opts.extraConfig != "") opts.extraConfig; + ++ filter (x: x != "") (splitString "\n" opts.extraConfig); in '' network={