1
0
Fork 0
puter/hosts/work/hardware.nix

33 lines
623 B
Nix
Raw Normal View History

2025-01-18 17:25:41 +01:00
{
inputs,
modulesPath,
...
2025-05-11 22:49:04 +02:00
}:
{
2025-01-18 17:25:41 +01:00
imports = [
"${modulesPath}/installer/scan/not-detected.nix"
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-gpu-amd
inputs.hardware.nixosModules.common-pc-laptop-ssd
inputs.hardware.nixosModules.lenovo-thinkpad
];
nixpkgs.hostPlatform = "x86_64-linux";
boot = {
initrd = {
2025-05-11 22:49:04 +02:00
availableKernelModules = [
"nvme"
"xhci_pci"
"thunderbolt"
"usb_storage"
"sd_mod"
];
kernelModules = [ ];
2025-01-18 17:25:41 +01:00
};
2025-05-11 22:49:04 +02:00
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
2025-01-18 17:25:41 +01:00
};
}