From f22dbd5e050d53a8ca9db1e9f7ef8a911bdb2040 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 29 Jun 2012 11:53:08 +0200 Subject: [PATCH] modules/services/networking/wpa_supplicant.nix: strip trailing whitespace --- modules/services/networking/wpa_supplicant.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/services/networking/wpa_supplicant.nix b/modules/services/networking/wpa_supplicant.nix index 32d4e49557d..5dc203fd177 100644 --- a/modules/services/networking/wpa_supplicant.nix +++ b/modules/services/networking/wpa_supplicant.nix @@ -18,7 +18,7 @@ in ###### interface options = { - + networking.WLANInterface = mkOption { default = ""; description = "Obsolete. Use instead."; @@ -82,14 +82,14 @@ in ###### implementation - + config = mkIf cfg.enable { environment.systemPackages = [ pkgs.wpa_supplicant ]; services.dbus.packages = [ pkgs.wpa_supplicant ]; - jobs.wpa_supplicant = + jobs.wpa_supplicant = { startOn = "started network-interfaces"; stopOn = "stopping network-interfaces"; @@ -119,13 +119,13 @@ in exec wpa_supplicant -s -u ${optionalString (cfg.driver != "") "-D${cfg.driver}"} -c ${configFile} $ifaces ''; }; - + powerManagement.resumeCommands = '' ${config.system.build.upstart}/sbin/restart wpa_supplicant ''; - assertions = [{ assertion = !cfg.userControlled.enable || cfg.interfaces != []; + assertions = [{ assertion = !cfg.userControlled.enable || cfg.interfaces != []; message = "user controlled wpa_supplicant needs explicit networking.wireless.interfaces";}]; };