summaryrefslogtreecommitdiffstats
path: root/hosts/jontop
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jontop')
-rw-r--r--hosts/jontop/hardware.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/hosts/jontop/hardware.nix b/hosts/jontop/hardware.nix
index 7d3f7c9..dc5af7e 100644
--- a/hosts/jontop/hardware.nix
+++ b/hosts/jontop/hardware.nix
@@ -1,7 +1,10 @@
-{ ... }:
+{ config, lib, pkgs, nixos-hardware, modulesPath, ... }:
{
imports =
- [ (modulesPath + "/installer/scan/not-detected.nix") ];
+ [
+ (modulesPath + "/installer/scan/not-detected.nix")
+ nixos-hardware.nixosModules.lenovo-thinkpad-x220
+ ];
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ "i915" ];