diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 05a97ec..3c651fe 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -68,7 +68,13 @@ }; services = { - tlp.enable = true; # TLP and auto-cpufreq for power management + tlp = { + enable = true; # TLP and auto-cpufreq for power management + settings = { + USB_DENYLIST="fc32:1287 1e7d:2e4a 1d5c:5500 1d5c:5510"; + }; + }; + logind.lidSwitch = "suspend-then-hibernate"; # Laptop does not go to sleep when lid is closed #auto-cpufreq.enable = true; blueman.enable = true;