21 lines
539 B
Nix
21 lines
539 B
Nix
|
{ config, lib, pkgs, modulesPath, inputs, ... }:
|
||
|
|
||
|
|
||
|
{
|
||
|
imports =
|
||
|
[
|
||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||
|
];
|
||
|
|
||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||
|
boot.kernelModules = [ "kvm-intel" ];
|
||
|
boot.extraModulePackages = [];
|
||
|
|
||
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
|
|
||
|
# modesetting is always better than intel (legacy)
|
||
|
services.xserver.videoDrivers = [ "modesetting" ];
|
||
|
|
||
|
}
|