diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/programs/virtualbox.nix | 4 | ||||
-rw-r--r-- | nixos/modules/services/networking/wpa_supplicant.nix | 2 | ||||
-rw-r--r-- | nixos/tests/installer.nix | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/programs/virtualbox.nix b/nixos/modules/programs/virtualbox.nix index a00b1e5f64d..be96cf23b39 100644 --- a/nixos/modules/programs/virtualbox.nix +++ b/nixos/modules/programs/virtualbox.nix @@ -1,8 +1,8 @@ let msg = "Importing <nixpkgs/nixos/modules/programs/virtualbox.nix> is " - + "deprecated, please use `services.virtualboxHost.enable = true' " + + "deprecated, please use `virtualisation.virtualbox.host.enable = true' " + "instead."; in { config.warnings = [ msg ]; - config.services.virtualboxHost.enable = true; + config.virtualisation.virtualbox.host.enable = true; } diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix index a8f445a2c73..53648aef1e0 100644 --- a/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixos/modules/services/networking/wpa_supplicant.nix @@ -125,10 +125,12 @@ in { # FIXME: start a separate wpa_supplicant instance per interface. systemd.services.wpa_supplicant = let ifaces = cfg.interfaces; + deviceUnit = interface: [ "sys-subsystem-net-devices-${interface}.device" ]; in { description = "WPA Supplicant"; after = [ "network-interfaces.target" ]; + requires = lib.concatMap deviceUnit ifaces; wantedBy = [ "network.target" ]; path = [ pkgs.wpa_supplicant ]; diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 9e5a6ad04e1..05c3f267eb9 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -366,8 +366,8 @@ in { "mkdir /mnt/boot", "mount LABEL=boot /mnt/boot", "udevadm settle", - "mdadm -W /dev/md0", # wait for sync to finish; booting off an unsynced device tends to fail - "mdadm -W /dev/md1", + "mdadm --verbose -W /dev/md0", # wait for sync to finish; booting off an unsynced device tends to fail + "mdadm --verbose -W /dev/md1", ); ''; }; |