overlays/wpa-supplicant: init, makes it not spam journal
This commit is contained in:
parent
c8f4410d94
commit
b9681ed925
3 changed files with 20 additions and 0 deletions
|
|
@ -7,4 +7,5 @@ builtins.map (path: import path) [
|
|||
./rofi.nix
|
||||
./steam.nix
|
||||
./utillinux.nix
|
||||
./wpa-supplicant.nix
|
||||
]
|
||||
|
|
|
|||
13
overlays/patches/wpa-supplicant.patch
Normal file
13
overlays/patches/wpa-supplicant.patch
Normal 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
|
||||
6
overlays/wpa-supplicant.nix
Normal file
6
overlays/wpa-supplicant.nix
Normal 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 ];
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue