38 lines
847 B
Nix
38 lines
847 B
Nix
{
|
|
den,
|
|
modules,
|
|
__findFile,
|
|
...
|
|
}:
|
|
{
|
|
den.aspects.laptop = {
|
|
nixos =
|
|
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
# (modulesPath + "/hardware/cpu/intel-npu.nix")
|
|
# (modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
# boot.initrd.availableKernelModules = [
|
|
# "xhci_pci"
|
|
# "thunderbolt"
|
|
# "vmd"
|
|
# "nvme"
|
|
# ];
|
|
boot.initrd.kernelModules = [ ];
|
|
# boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
# hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
# hardware.cpu.intel.npu.enable = true;
|
|
};
|
|
};
|
|
}
|