From 51cad13b6a3c6edecaf07f1905b9d55a7274f365 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 8 Jun 2024 14:36:28 -0400 Subject: [PATCH] Add note on ipu6 (Surface Pro camera) enabling --- hosts/Khanda/hardware-configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/Khanda/hardware-configuration.nix b/hosts/Khanda/hardware-configuration.nix index 0b833a8..89587fb 100644 --- a/hosts/Khanda/hardware-configuration.nix +++ b/hosts/Khanda/hardware-configuration.nix @@ -92,7 +92,17 @@ }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware = { + cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + # Enable camera driver + # NOTE: Currently results in a build failure. For updates, see https://github.com/NixOS/nixpkgs/issues/303067 + /* + ipu6 = { + enable = true; + platform = "ipu6ep"; + }; + */ + }; # Install/configure additional drivers, particularly for touch environment.systemPackages = with pkgs; [ libwacom-surface ];