feat(nix): update hardware configuration for T15 without detected modules
- Added imports: intel Tiger Lake CPU and GPU, laptop, SSD, and PC-specific configurations from `nixos-hardware`. - Set `kernel-providers` to use `linuxPackages_latest`. - Improved hardware configuration from `nixos againts configuration..` for modernized-hardware heldon
This commit is contained in:
parent
fcb5e83a63
commit
a2c8388b47
1 changed files with 9 additions and 2 deletions
|
|
@ -5,13 +5,20 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
modulesPath,
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports = [
|
||||||
|
"${inputs.nixos-hardware}/common/cpu/intel/tiger-lake"
|
||||||
|
"${inputs.nixos-hardware}/common/gpu/intel/tiger-lake"
|
||||||
|
"${inputs.nixos-hardware}/common/pc/laptop"
|
||||||
|
"${inputs.nixos-hardware}/common/pc/ssd"
|
||||||
|
"${inputs.nixos-hardware}/common/pc"
|
||||||
|
];
|
||||||
|
|
||||||
|
kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"ahci"
|
"ahci"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue