1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 16:09:19 +03:00
nixpkgs/nixos/modules/hardware/wooting.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
290 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
2024-11-20 17:59:50 +01:00
options.hardware.wooting.enable = lib.mkEnableOption "support for Wooting keyboards";
config = lib.mkIf config.hardware.wooting.enable {
environment.systemPackages = [ pkgs.wootility ];
services.udev.packages = [ pkgs.wooting-udev-rules ];
};
}