mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
19 lines
400 B
Nix
Executable File
19 lines
400 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 ];
|
|
};
|
|
}
|