iwd: avoid error in the logs about a non-existing netdev group

r-vdp 88565ccf 07477ca0

+36
+30
pkgs/by-name/iw/iwd/no_netdev_group.diff
··· 1 + diff --git a/src/iwd-dbus.conf b/src/iwd-dbus.conf 2 + index f2509ebc..a443987d 100644 3 + --- a/src/iwd-dbus.conf 4 + +++ b/src/iwd-dbus.conf 5 + @@ -19,10 +19,6 @@ 6 + <allow send_destination="net.connman.iwd"/> 7 + </policy> 8 + 9 + - <policy group="netdev"> 10 + - <allow send_destination="net.connman.iwd"/> 11 + - </policy> 12 + - 13 + <policy context="default"> 14 + <deny send_destination="net.connman.iwd"/> 15 + </policy> 16 + diff --git a/wired/ead-dbus.conf b/wired/ead-dbus.conf 17 + index 8a685e0a..749d0c05 100644 18 + --- a/wired/ead-dbus.conf 19 + +++ b/wired/ead-dbus.conf 20 + @@ -17,10 +17,6 @@ 21 + <allow send_destination="net.connman.ead"/> 22 + </policy> 23 + 24 + - <policy group="netdev"> 25 + - <allow send_destination="net.connman.ead"/> 26 + - </policy> 27 + - 28 + <policy context="default"> 29 + <deny send_destination="net.connman.ead"/> 30 + </policy>
+6
pkgs/by-name/iw/iwd/package.nix
··· 23 23 hash = "sha256-NY0WB62ehxKH64ssAF4vkF6YroG5HHH+ii+AFG9EaE4="; 24 24 }; 25 25 26 + patches = [ 27 + # Remove dbus config referencing the netdev group, which we don't have. 28 + # Users are advised to use the wheel group instead. 29 + ./no_netdev_group.diff 30 + ]; 31 + 26 32 outputs = [ 27 33 "out" 28 34 "man"