diff --git a/systems/gwyn/default.nix b/systems/gwyn/default.nix index ad7eec5..628ba85 100644 --- a/systems/gwyn/default.nix +++ b/systems/gwyn/default.nix @@ -88,6 +88,11 @@ fstrim.enable = true; # Enable TRIM for SD cards hardware.bolt.enable = true; # Enable Thunderbolt control logind.lidSwitchExternalPower = "ignore"; + + # Disable the integrated webcam + udev.extraRules = '' + ACTION=="add", ATTR{idVendor}=="0c45", ATTR{idProduct}=="671d", RUN="${pkgs.bash}/bin/sh -c 'echo 1 >/sys/\$devpath/remove'" + ''; }; virtualisation.virtualbox.host.enable = true;