-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inputmodule: init inputmodule-control (pkg), init inputmodule (module) #307293
Conversation
My vs code formatted the release notes file differently. Will fix this. |
e087983
to
6c82060
Compare
Fixed :) |
4a690de
to
ee044c6
Compare
Can anyone help me on the ofborg-eval check? I don't really get why it fails.
Edit: Seems like I fixed it. I had to include the Cargo.lock file and reference it locally. Previously, I referenced it by |
53f69a9
to
7be99b1
Compare
7be99b1
to
40b25e0
Compare
Hey @Aleksanaa, I've seen your name show up often around here :) Would you mind taking a look at my PR? Also, I'm new to the nixpkgs repo. Is it okay to ping for reviews? Or would my PR just get picked up soon anyway? Edit: Okay, have some conflicts with upstream now, will resolve tomorrow. |
51a49f4
to
790a99b
Compare
Rebased the branch and resolved conflicts Edit: Have exams coming up. Will update this when I have some time again. Edit 2: Updated again. Changelog moved from 24.05 to 24.11. |
790a99b
to
4684629
Compare
0bf64cd
to
dcdb09b
Compare
Rebased |
5e9d113
to
349426d
Compare
349426d
to
774ef55
Compare
Thanks for the review! I included your suggestions. |
774ef55
to
1a657c0
Compare
1a657c0
to
737196b
Compare
737196b
to
6d7d25a
Compare
I think ofborg is not a fan of this change. I'll try a rebase. |
6d7d25a
to
bddea67
Compare
It might have been due to #354738 if it was the lib tests failing (can't see the failure anymore) |
yes, it was the lib test! Alright, then the rebase should do the trick. |
Packaged this as it was still missing from nixpkgs and to further support NixOS on Framework laptops. Repo: https://github.com/FrameworkComputer/inputmodule-rs Release: https://github.com/FrameworkComputer/inputmodule-rs/releases/tag/v0.2.0
bddea67
to
6cc4544
Compare
Description of changes
This adds support for Framework input modules, like the LED matrix module.
I added an
inputmodule-control
pkg which builds the binary of the official CLI tool by Framework. It also provides udev rules when added to the list of udev packages, which allow for rootless access to input modules. The udev rules are also provided by Framework. It's fetched from GitHub using fetchFromGitHub and builds using buildRustPackage.I additionally added a NixOS module that adds the option
hardware.inputmodule.enable
. Setting it totrue
addsinputmodule-control
pkg toconfig.environment.systemPackages
andconfig.services.udev.packages
.Repo: https://github.com/FrameworkComputer/inputmodule-rs
Release: https://github.com/FrameworkComputer/inputmodule-rs/releases/tag/v0.2.0
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.