mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
fix(hosts/wireless): disable wpa_supplicant hardening
The sandbox binds secretsFile into the unit's namespace, so a secret that can't be decrypted kills the daemon along with the control socket needed to connect by hand and fix it. It also breaks wpa_gui (nixpkgs#475438). Tradeoff: the daemon runs as root again, as it does on most distros. Assisted-by: pi (claude-opus-5)
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
fallbackToWPA2 = false;
|
||||
# The sandbox binds secretsFile into the unit's namespace, so a secret that
|
||||
# can't be decrypted kills the daemon (and the control socket needed to
|
||||
# connect by hand and fix it). Also breaks wpa_gui.
|
||||
enableHardening = false;
|
||||
# Declarative
|
||||
secretsFile = config.sops.secrets.wireless.path;
|
||||
networks = {
|
||||
|
||||
Reference in New Issue
Block a user