diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index 94cb740..0422cf9 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -15,8 +15,17 @@ in { }; boot = { - # extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ]; - # kernelModules = [ "ddcci" ]; + extraModulePackages = with config.boot.kernelPackages; [ + (ddcci-driver.overrideAttrs (o: { + patches = (o.patches or []) ++ [ + (pkgs.fetchpatch { + url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/16.patch"; + hash = "sha256-PapgP4cE2+d+YbNSEd6mQRvnumdiEfQpyR5f5Rs1YTs="; + }) + ]; + })) + ]; + kernelModules = [ "ddcci" ]; }; nix.settings = {