Inputplumber + Nixos

Anyone has it working? I get the error “Config base path not found” and am not familiar with how to proceed

How do you have it installed? Should just be services.inputplumber.enable = true.

That’s how, yes. Im on startx+i3 if it matters …

1 Like

Looking from just the code, as I’ve never used InputPlumber, “Config base path not found” is only a warning, but can fail if /usr/share/inputplumber is nonexistent. The NixOS module sets environment.pathsToLink = [ "/share/inputplumber" ];, so I’m not sure why it’s failing. Can you confirm it exists by running ls /usr/share/inputplumber? Unless you’re on stable, in which case the fix that adds environment.pathsToLink = [ "/share/inputplumber" ]; is not present.

Unstable does not even have it, only master. Just add

# TODO: Remove once https://github.com/NixOS/nixpkgs/pull/522249 makes it into <CHANNEL>
environment.pathsToLink = [ "/share/inputplumber" ];

to your config.

1 Like

Thanks, I missed your edit and did a lot of hair pulling wondering why the blame Blaming nixpkgs/nixos/modules/services/hardware/inputplumber.nix at master · NixOS/nixpkgs · GitHub says the line was commited 3 months ago and yet my 10 day old rebuild doesn’t have it . Turns out it was merged (almost) literally a minute before you posted it :grinning_face:

1 Like