summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-01-06 03:52:56 +0000
committerRobin Gloster <mail@glob.in>2016-01-06 03:58:39 +0000
commit391c33004242b17d41d9e15e8a0a7c416087c17a (patch)
tree2b67e056ec3c4718c442679ebe70dfe2c23e3ef9 /nixos/modules/profiles
parent609457458e24b619b45a18666738b704077f434b (diff)
downloadnixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.tar
nixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.tar.gz
nixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.tar.bz2
nixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.tar.lz
nixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.tar.xz
nixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.tar.zst
nixlib-391c33004242b17d41d9e15e8a0a7c416087c17a.zip
wpa_supplicant service: jobs -> systemd.services
Fixes an occurence of `jobs` usage causing tests to fail to evaluate.

thanks @domenkozar
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 946032781f40..669b6975c690 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -51,7 +51,7 @@ with lib;
 
     # Enable wpa_supplicant, but don't start it by default.
     networking.wireless.enable = mkDefault true;
-    jobs.wpa_supplicant.startOn = mkOverride 50 "";
+    systemd.services.wpa_supplicant.wantedBy = mkOverride 50 [];
 
     # Tell the Nix evaluator to garbage collect more aggressively.
     # This is desirable in memory-constrained environments that don't