summaryrefslogtreecommitdiff
path: root/nixos/hardware
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2024-12-07 18:39:49 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2024-12-07 18:39:49 +0100
commit027912a1e9359ab18046ec018578a3f891e6e277 (patch)
tree7ecdf2c57bbccd77296ab5f56920af644739ecdb /nixos/hardware
parentc002ab880314b9d190dabc5543e155886fec860a (diff)
fix hibernation
Diffstat (limited to 'nixos/hardware')
-rw-r--r--nixos/hardware/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/nixos/hardware/default.nix b/nixos/hardware/default.nix
index 8d932d0..c017942 100644
--- a/nixos/hardware/default.nix
+++ b/nixos/hardware/default.nix
@@ -1,7 +1,6 @@
-{ nixos-hardware, ... }:
-
-{
- imports = [ # Include the results of the hardware scan.
+{nixos-hardware, ...}: {
+ imports = [
+ # Include the results of the hardware scan.
./hardware-configuration.nix
# Community-curated hardware configuration
@@ -21,5 +20,7 @@
};
sound.enable = true;
};
-}
+ # these modules seem to be preventing hibernation
+ boot.blacklistedKernelModules = ["intel_hid" "nouveau"];
+}