diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-29 20:41:27 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-29 20:41:27 -0400 |
commit | 0d1276915ca8cdd9b1b65f8c11832d0d598c49af (patch) | |
tree | 220e5750d034dfc89f54aa0d828c27e9ea7dc300 /hosts/jontop | |
parent | 1f327873451b9617e305b4b97f83a1824574881d (diff) | |
download | nix-config-0d1276915ca8cdd9b1b65f8c11832d0d598c49af.tar.gz nix-config-0d1276915ca8cdd9b1b65f8c11832d0d598c49af.tar.bz2 nix-config-0d1276915ca8cdd9b1b65f8c11832d0d598c49af.zip |
really add laptop host
Diffstat (limited to 'hosts/jontop')
-rw-r--r-- | hosts/jontop/hardware.nix | 7 |
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" ]; |