about summary refs log tree commit diff
path: root/hardware
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-12-30 17:54:13 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-12-30 17:55:34 +0100
commit3749e4c2efebf5be9f9d78119bf38823b6aa6259 (patch)
tree43db1f9405c0e7d0cfcc8eda1464206b108de277 /hardware
parentHardware: Move hardware specific settings from hosts (diff)
downloadnixos-config-3749e4c2efebf5be9f9d78119bf38823b6aa6259.tar.gz
nixos-config-3749e4c2efebf5be9f9d78119bf38823b6aa6259.tar.bz2
nixos-config-3749e4c2efebf5be9f9d78119bf38823b6aa6259.zip
Host: Chromebook+Thinkpad: Disable webcam module
Diffstat (limited to 'hardware')
-rw-r--r--hardware/chromebook/hardware.nix1
-rw-r--r--hardware/thinkpad/hardware.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/hardware/chromebook/hardware.nix b/hardware/chromebook/hardware.nix
index b0e1257..945023a 100644
--- a/hardware/chromebook/hardware.nix
+++ b/hardware/chromebook/hardware.nix
@@ -8,6 +8,7 @@ in
   ];
 
   boot = {
+    blacklistedKernelModules = [ "uvcvideo" ];
     initrd = {
       availableKernelModules = [ "xhci_pci" "usb_storage" "sd_mod" "sdhci_acpi" "aesni_intel" "cryptd" ];
       kernelModules = [ "i915" ];
diff --git a/hardware/thinkpad/hardware.nix b/hardware/thinkpad/hardware.nix
index b0e1257..945023a 100644
--- a/hardware/thinkpad/hardware.nix
+++ b/hardware/thinkpad/hardware.nix
@@ -8,6 +8,7 @@ in
   ];
 
   boot = {
+    blacklistedKernelModules = [ "uvcvideo" ];
     initrd = {
       availableKernelModules = [ "xhci_pci" "usb_storage" "sd_mod" "sdhci_acpi" "aesni_intel" "cryptd" ];
       kernelModules = [ "i915" ];