nixos/hostapd: fix hostapd_cli (#389181)

This commit is contained in:
K900
2025-03-12 17:01:26 +03:00
committed by GitHub

View File

@@ -1447,7 +1447,7 @@ in
DeviceAllow = "/dev/rfkill rw";
NoNewPrivileges = true;
PrivateUsers = false; # hostapd requires true root access.
PrivateTmp = true;
PrivateTmp = false; # hostapd_cli opens a socket in /tmp
ProtectClock = true;
ProtectControlGroups = true;
ProtectHome = true;