summary refs log tree commit diff
path: root/nixos/modules/services/networking/hostapd.nix
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2019-06-23 21:30:51 +0200
committerFélix Baylac-Jacqué <felix@alternativebit.fr>2019-06-24 00:26:27 +0200
commit5121f8d1e6a82e949563111843c1f577a9ecf9b4 (patch)
treea7806702a5af0ac94768e614c3224707c5c8a7a2 /nixos/modules/services/networking/hostapd.nix
parent98deb873545deae4f475c3f54451cda0693c29e1 (diff)
downloadnixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.tar
nixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.tar.gz
nixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.tar.bz2
nixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.tar.lz
nixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.tar.xz
nixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.tar.zst
nixpkgs-5121f8d1e6a82e949563111843c1f577a9ecf9b4.zip
hostapd: starting hostapd systemd service at boot.
Diffstat (limited to 'nixos/modules/services/networking/hostapd.nix')
-rw-r--r--nixos/modules/services/networking/hostapd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix
index a3407888496..54a5bed2563 100644
--- a/nixos/modules/services/networking/hostapd.nix
+++ b/nixos/modules/services/networking/hostapd.nix
@@ -171,6 +171,7 @@ in
         after = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
         bindsTo = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
         requiredBy = [ "network-link-${cfg.interface}.service" ];
+        wantedBy = [ "multi-user.target" ];
 
         serviceConfig =
           { ExecStart = "${pkgs.hostapd}/bin/hostapd ${configFile}";