mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
17 lines
396 B
Nix
Executable File
17 lines
396 B
Nix
Executable File
# Installs the VEIKK Linux driver at https://github.com/jlam55555/veikk-linux-driver.
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.hardware.veikk;
|
|
in {
|
|
options.modules.hardware.veikk = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config =
|
|
mkIf cfg.enable { boot.extraModulePackages = [ pkgs.veikk-linux-driver ]; };
|
|
}
|