mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
Merge pull request #105775 from xaverdh/iwd-link-unit
This commit is contained in:
commit
b815fb2fd9
@ -107,6 +107,15 @@
|
||||
user D-Bus session available also for non-graphical logins.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <varname>networking.wireless.iwd</varname> module now installs
|
||||
the upstream-provided 80-iwd.link file, which sets the NamePolicy=
|
||||
for all wlan devices to "keep kernel", to avoid race conditions
|
||||
between iwd and networkd. If you don't want this, you can set
|
||||
<literal>systemd.network.links."80-iwd" = lib.mkForce {}</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>rubyMinimal</literal> was removed due to being unused and
|
||||
|
@ -22,6 +22,11 @@ in {
|
||||
|
||||
systemd.packages = [ pkgs.iwd ];
|
||||
|
||||
systemd.network.links."80-iwd" = {
|
||||
matchConfig.Type = "wlan";
|
||||
linkConfig.NamePolicy = "keep kernel";
|
||||
};
|
||||
|
||||
systemd.services.iwd.wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user