diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix index 124bd9c9eda0..7751308312ce 100644 --- a/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixos/modules/services/networking/wpa_supplicant.nix @@ -599,7 +599,7 @@ in }; extraConfig = mkOption { - type = types.str; + type = types.lines; default = ""; example = '' p2p_disabled=1