mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 16:57:55 +00:00
17 lines
378 B
Nix
17 lines
378 B
Nix
|
# Installs the VEIKK Linux driver at https://github.com/jlam55555/veikk-linux-driver.
|
||
|
{ config, options, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
{
|
||
|
options.modules.drivers.veikk = {
|
||
|
enable = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
config = mkIf config.modules.drivers.veikk.enable {
|
||
|
boot.extraModulePackages = [ pkgs.veikk-linux-driver ];
|
||
|
};
|
||
|
}
|