From 5121f8d1e6a82e949563111843c1f577a9ecf9b4 Mon Sep 17 00:00:00 2001 From: Félix Baylac-Jacqué Date: Sun, 23 Jun 2019 21:30:51 +0200 Subject: hostapd: starting hostapd systemd service at boot. --- nixos/modules/services/networking/hostapd.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules/services/networking/hostapd.nix') 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}"; -- cgit 1.4.1