mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
inputmodule: init inputmodule-control (pkg), init inputmodule (module) (#307293)
This commit is contained in:
commit
7534f2428e
4 changed files with 71 additions and 0 deletions
15
nixos/modules/hardware/inputmodule.nix
Normal file
15
nixos/modules/hardware/inputmodule.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options.hardware.inputmodule.enable = lib.mkEnableOption ''Support for Framework input modules'';
|
||||
|
||||
config = lib.mkIf config.hardware.inputmodule.enable {
|
||||
environment.systemPackages = [ pkgs.inputmodule-control ];
|
||||
services.udev.packages = [ pkgs.inputmodule-control ];
|
||||
};
|
||||
}
|
|
@ -71,6 +71,7 @@
|
|||
./hardware/hackrf.nix
|
||||
./hardware/i2c.nix
|
||||
./hardware/infiniband.nix
|
||||
./hardware/inputmodule.nix
|
||||
./hardware/keyboard/qmk.nix
|
||||
./hardware/keyboard/teck.nix
|
||||
./hardware/keyboard/uhk.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue