Hardware/Framework/Laptop 16: Difference between revisions

Atvor (talk | contribs)
Mention systemd bug resulting in idle-suspend loop
 
Line 258: Line 258:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
inputmodule.enable = true;
hardware.inputmodule.enable = true;
</syntaxhighlight>
</syntaxhighlight>


Example (LED matrix clock):
Example (LED matrix clock):


<syntaxhighlight lang="sh">
<syntaxhighlight lang="sh"># Serial device is often /dev/ttyACM0 (or ttyACM1 if you have two modules)
# Serial device is often /dev/ttyACM0 (or ttyACM1 if you have two modules)
inputmodule-control --serial-dev /dev/ttyACM0 led-matrix --clock</syntaxhighlight>
inputmodule-control --serial-dev /dev/ttyACM0 led-matrix --clock
</syntaxhighlight>


== External resources ==
== External resources ==


There is [https://community.frame.work/t/nixos-on-the-framework-laptop-16/46743 a NixOS thread on the Framework forum], where you can find additional help, guidance, and example configurations.
There is [https://community.frame.work/t/nixos-on-the-framework-laptop-16/46743 a NixOS thread on the Framework forum], where you can find additional help, guidance, and example configurations.