Skip to content
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

nixos/modules/services/x11/hardware/: add cmt module #67241

Merged
merged 6 commits into from Sep 8, 2019

Conversation

kcalvinalvin
Copy link
Member

Motivation for this change

To add support for cmt (Chrome Multitouch), custom built drivers for Chromebooks.

Known issues: Can't control such things as acceleration through the desktop environment's GUI. Places an empty 50 or 60 .conf file in the /etc/X11/xorg.conf.d/

Things done

Fixes applied for the changes requested for #66195 (git commit cleanup and various changes)

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @infinisil

@kcalvinalvin
Copy link
Member Author

I've updated the maintainer-list.nix file to include me but not sure how to start the tests again.

@alyssais
Copy link
Member

alyssais commented Aug 31, 2019 via email

@kcalvinalvin
Copy link
Member Author

Fixed trailing whitespace and commit message. I'm still not sure if this is the right commit message to have since there are no examples for making new modules so please let me know if it's not following the formatting.

For ChromiumOS there needs to be this text included.

I wasn't quite sure how to go about it so I just made a repo for it but it seems like github just added BSD3 to the repo. If there is a better way of going about it, I'll certainly do so.

@kcalvinalvin kcalvinalvin changed the title Added support for cmt(Chrome Multitouch) nixos/modules/services/x11/hardware/: add cmt module Aug 31, 2019
@alyssais
Copy link
Member

alyssais commented Aug 31, 2019 via email

@kcalvinalvin
Copy link
Member Author

Changed commit message and removed/replaced chromeos license to bsd3

maintainers/maintainer-list.nix Outdated Show resolved Hide resolved
nixos/modules/services/x11/hardware/cmt.nix Outdated Show resolved Hide resolved
nixos/modules/services/x11/hardware/cmt.nix Outdated Show resolved Hide resolved
nixos/modules/services/x11/hardware/cmt.nix Outdated Show resolved Hide resolved
nixos/modules/services/x11/hardware/cmt.nix Outdated Show resolved Hide resolved
@infinisil
Copy link
Member

@GrahamcOfBorg build libgestures
@GrahamcOfBorg build libevdevc
@GrahamcOfBorg build xf86_input_cmt
@GrahamcOfBorg build chromium-xorg-conf

@kcalvinalvin
Copy link
Member Author

Is there anything else that I need to do?

@infinisil
Copy link
Member

Would be nice if you could clean up the commits. Initial commit for adding to the maintainer list, then one commit for each package, then a commit for the NixOS module

@kcalvinalvin
Copy link
Member Author

Cleaned up the commits as requested

@infinisil
Copy link
Member

Thanks, LGTM :)

@infinisil infinisil merged commit 916603c into NixOS:master Sep 8, 2019
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this pull request Oct 2, 2019
nixos/modules/services/x11/hardware/: add cmt module

(cherry picked from commit 916603c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants