feat: use nixfmt

This commit is contained in:
2024-03-26 17:44:14 +01:00
parent 59e6ed992a
commit 3ad3491970
29 changed files with 444 additions and 558 deletions

View File

@@ -1,13 +1,10 @@
{
pkgs,
lib,
config,
...
}:
with lib; let
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.hardware.hid-fanatecff;
kernel = config.boot.kernelPackages.kernel;
fanatecKernelModule = pkgs.callPackage (import ./hid-fanatecff-module.nix) {kernel = kernel;};
fanatecKernelModule =
pkgs.callPackage (import ./hid-fanatecff-module.nix) { kernel = kernel; };
in {
options.hardware.hid-fanatecff = {
enable = mkOption {
@@ -23,8 +20,8 @@ in {
};
config = lib.mkIf cfg.enable {
boot = {
extraModulePackages = [fanatecKernelModule];
kernelModules = ["hid-fanatecff"];
extraModulePackages = [ fanatecKernelModule ];
kernelModules = [ "hid-fanatecff" ];
};
};
}