Skip to content

Flake assumes iwd is enabled on NixOS #2

@johnDeSilencio

Description

@johnDeSilencio

Hello! Thank you for creating this awesome Rust project. I saw your post on Reddit and wanted to take it for a spin.

Problem

I run NixOS on my laptop, so I went ahead and installed iwmenu using the instructions in the README.

I use rofi for my app launcher. When I run iwmenu --menu rofi, this is the error that I get:

Error: org.freedesktop.DBus.Error.ServiceUnknown: The name net.connman.iwd was not provided by any .service files

System Version Info

Click to see my NixOS system version info
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.5, NixOS, 24.11 (Vicuna), 24.11.20241030.2d2a9dd`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/0z5aw6jjbjq9sqcd03gfa7zkk25nzwgc-source`

IWD

After some googling, it looks like iwd is a daemon for managing wireless connections in Linux.

Minimally, I feel like this dependency should be documented in the README. Better yet, is there some way that users of the flake would get an error if iwd isn't enabled on their system?


Looks like I was able to get rofi to work after enabling iwd in my networking settings:

# configuration.nix
{ ... }:
{
  networking = {
    wireless.iwd.enable = true;
    networkmanager.enable = true;
  };
}

But whenever I try to connect to a WiFi network, I now get the following error:

LOG: Connecting to new network: <redacted>
LOG: org.freedesktop.DBus.Error.NotFound: No matching method found
Error: org.freedesktop.DBus.Error.NotFound: No matching method found

Any insights would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions