overlays/wpa-supplicant: init, makes it not spam journal

This commit is contained in:
LavaDesu 2025-03-25 22:17:23 +11:00
parent c8f4410d94
commit b9681ed925
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 20 additions and 0 deletions

View file

@ -7,4 +7,5 @@ builtins.map (path: import path) [
./rofi.nix ./rofi.nix
./steam.nix ./steam.nix
./utillinux.nix ./utillinux.nix
./wpa-supplicant.nix
] ]

View file

@ -0,0 +1,13 @@
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in
index 58a6228..fbe7de3 100644
--- a/wpa_supplicant/systemd/wpa_supplicant.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
@@ -7,7 +7,7 @@ Wants=network.target
[Service]
Type=dbus
BusName=fi.w1.wpa_supplicant1
-ExecStart=@BINDIR@/wpa_supplicant -u
+ExecStart=@BINDIR@/wpa_supplicant -u -q
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,6 @@
self: super: {
# Thanks https://discourse.nixos.org/t/journal-logs-spammed-with-ctrl-event-scan-failed/56316/5
wpa_supplicant = super.wpa_supplicant.overrideAttrs(o: {
patches = o.patches ++ [ ./patches/wpa-supplicant.patch ];
});
}