summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-02-05 06:50:20 -0500
committerShea Levy <shea@shealevy.com>2017-02-05 06:50:20 -0500
commit67ef18d01a944122c03312efbafaa5911427b0a1 (patch)
tree44a18b47406c69d60b2abecec644dc4600bdf070 /nixos/modules/services
parent90bc1a8595792d87927a65db172f55aa22176944 (diff)
downloadnixlib-67ef18d01a944122c03312efbafaa5911427b0a1.tar
nixlib-67ef18d01a944122c03312efbafaa5911427b0a1.tar.gz
nixlib-67ef18d01a944122c03312efbafaa5911427b0a1.tar.bz2
nixlib-67ef18d01a944122c03312efbafaa5911427b0a1.tar.lz
nixlib-67ef18d01a944122c03312efbafaa5911427b0a1.tar.xz
nixlib-67ef18d01a944122c03312efbafaa5911427b0a1.tar.zst
nixlib-67ef18d01a944122c03312efbafaa5911427b0a1.zip
supplicant nixos module: Allow not specifying the configFile path
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/supplicant.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/supplicant.nix b/nixos/modules/services/networking/supplicant.nix
index 0c459fb1dd0c..31d11548f195 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 <literal>wpa_supplicant.conf</literal> configuration file.