From 67ef18d01a944122c03312efbafaa5911427b0a1 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 5 Feb 2017 06:50:20 -0500 Subject: [PATCH] supplicant nixos module: Allow not specifying the configFile path --- nixos/modules/services/networking/supplicant.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/supplicant.nix b/nixos/modules/services/networking/supplicant.nix index 0c459fb1dd0..31d11548f19 100644 --- a/nixos/modules/services/networking/supplicant.nix +++ b/nixos/modules/services/networking/supplicant.nix @@ -82,7 +82,8 @@ in configFile = { path = mkOption { - type = types.path; + type = types.nullOr types.path; + default = null; example = literalExample "/etc/wpa_supplicant.conf"; description = '' External wpa_supplicant.conf configuration file.