2023-07-28 17:41:32 +03:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
2023-09-06 16:10:11 +03:00
|
|
|
imports = [
|
|
|
|
(modulesPath + "/hardware/network/broadcom-43xx.nix")
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
2023-07-28 17:41:32 +03:00
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
[ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
2023-08-23 09:38:48 +03:00
|
|
|
boot.initrd.kernelModules = [ ];
|
2023-07-28 17:41:32 +03:00
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/nvme0n1p2";
|
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
2023-07-28 17:41:32 +03:00
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/B167-E1D3";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2023-07-28 17:41:32 +03:00
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2023-09-06 16:10:11 +03:00
|
|
|
hardware.cpu.intel.updateMicrocode =
|
|
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-07-30 12:44:50 +03:00
|
|
|
}
|