Iwd: Difference between revisions

imported>Eoli3n
No edit summary
imported>Yuu
add
Line 30: Line 30:


== Troubleshooting ==
== Troubleshooting ==
=== org.freedesktop.service failed ===
=== org.freedesktop.service failed ===
When connecting to a protected network it could happen that no password window appears and the following message is written in the journal:
When connecting to a protected network it could happen that no password window appears and the following message is written in the journal:
Line 39: Line 40:
{
{
   services.gnome3.gnome-keyring.enable = true;
   services.gnome3.gnome-keyring.enable = true;
}
</syntaxHighlight>
=== rfkill blocks wireless device ===
If the wi-fi connection is blocked by rf-kill, it it is needed to unblock the the wireless device. A way to do that is with Nix is by using  system.activationScripts.
<syntaxHighlight lang=nix>
{
  system.activationScripts = {
    rfkillUnblockWlan = {
      text = ''
      rfkill unblock wlan
      '';
      deps = [];
    };
  };
}
}
</syntaxHighlight>
</syntaxHighlight>