diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-12-30 17:54:13 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-12-30 17:55:34 +0100 |
commit | 3749e4c2efebf5be9f9d78119bf38823b6aa6259 (patch) | |
tree | 43db1f9405c0e7d0cfcc8eda1464206b108de277 | |
parent | Hardware: Move hardware specific settings from hosts (diff) | |
download | nixos-config-3749e4c2efebf5be9f9d78119bf38823b6aa6259.tar.gz nixos-config-3749e4c2efebf5be9f9d78119bf38823b6aa6259.tar.bz2 nixos-config-3749e4c2efebf5be9f9d78119bf38823b6aa6259.zip |
Host: Chromebook+Thinkpad: Disable webcam module
-rw-r--r-- | hardware/chromebook/hardware.nix | 1 | ||||
-rw-r--r-- | hardware/thinkpad/hardware.nix | 1 | ||||
-rw-r--r-- | hosts/luna/default.nix | 2 | ||||
-rw-r--r-- | modules/power-save/default.nix | 1 |
4 files changed, 3 insertions, 2 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" ]; diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix index bee10d3..0c59e9e 100644 --- a/hosts/luna/default.nix +++ b/hosts/luna/default.nix @@ -1,6 +1,6 @@ { config, pkgs, lib, secrets, hostname, inputs, user, ... }: { - imports = []; + imports = [ ]; services = { # Configure keymap in X11 diff --git a/modules/power-save/default.nix b/modules/power-save/default.nix index 2e3f769..e132655 100644 --- a/modules/power-save/default.nix +++ b/modules/power-save/default.nix @@ -7,7 +7,6 @@ boot = { kernelParams = [ "pcie_aspm.policy=powersave" ]; - # blacklistedKernelModules = [ "uvcvideo" ]; extraModprobeConfig = '' options snd_hda_intel power_save=1 options iwlwifi power_save=1 d0i3_disable=0 uapsd_disable=0 |