Some checks failed
Check flake / build-amd64-linux (push) Failing after 1m10s
51 lines
870 B
Nix
51 lines
870 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot = {
|
|
initrd.availableKernelModules = [
|
|
"xhci_pci"
|
|
"ahci"
|
|
"usbhid"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
];
|
|
kernel.sysctl = {
|
|
"kernel.nmi_watchdog" = 0;
|
|
"vm.laptop_mode" = 5;
|
|
};
|
|
kernelModules = [
|
|
"applesmc"
|
|
"kvm-intel"
|
|
"wl"
|
|
];
|
|
extraModulePackages = [
|
|
config.boot.kernelPackages.broadcom_sta
|
|
];
|
|
};
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
hardware = {
|
|
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
graphics = {
|
|
enable = true;
|
|
extraPackages = with pkgs; [
|
|
libvdpau-va-gl
|
|
];
|
|
enable32Bit = true;
|
|
};
|
|
};
|
|
}
|