summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/wpa_supplicant.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/wpa_supplicant.nix')
-rw-r--r--nixos/modules/services/networking/wpa_supplicant.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix
index 1558c5832892..a8f445a2c73c 100644
--- a/nixos/modules/services/networking/wpa_supplicant.nix
+++ b/nixos/modules/services/networking/wpa_supplicant.nix
@@ -78,10 +78,11 @@ in {
'';
default = {};
example = literalExample ''
- echelon = {
- psk = "abcdefgh";
- };
- "free.wifi" = {};
+ { echelon = {
+ psk = "abcdefgh";
+ };
+ "free.wifi" = {};
+ }
'';
};
@@ -127,6 +128,7 @@ in {
in {
description = "WPA Supplicant";
+ after = [ "network-interfaces.target" ];
wantedBy = [ "network.target" ];
path = [ pkgs.wpa_supplicant ];