2024-01-29 20:05:48 +00:00
|
|
|
{ config, lib, modulesPath, ... }: {
|
2023-11-10 10:33:41 +00:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-11-05 17:49:51 +00:00
|
|
|
|
2024-05-16 16:48:46 +00:00
|
|
|
boot = {
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = [ "xhci_pci" "sd_mod" ];
|
|
|
|
kernelModules = [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = lib.mkForce false;
|
|
|
|
};
|
|
|
|
|
|
|
|
lanzaboote = {
|
|
|
|
enable = true;
|
|
|
|
pkiBundle = "/etc/secureboot";
|
|
|
|
};
|
|
|
|
|
|
|
|
kernel.sysctl = {
|
|
|
|
"net.core.default_qdisc" = "fq";
|
|
|
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
|
|
|
};
|
2023-11-05 17:49:51 +00:00
|
|
|
};
|
2023-10-08 14:57:57 +00:00
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2024-05-16 16:48:46 +00:00
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-10-08 14:57:57 +00:00
|
|
|
}
|