nixos-config/modules/new-lg4ff/default.nix

15 lines
332 B
Nix
Raw Normal View History

2023-12-21 06:38:32 +00:00
{ config, lib, ... }:
2022-03-05 03:50:54 +00:00
let
cfg = config.sconfig.new-lg4ff;
in
{
options.sconfig.new-lg4ff.enable = lib.mkEnableOption "Enable new-lg4ff";
config = lib.mkIf cfg.enable {
boot.kernelModules = [ "hid-logitech-new" ];
boot.extraModulePackages = [
(config.boot.kernelPackages.callPackage ./pkg.nix { })
];
};
}