2020-06-20 17:54:21 +08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
{ device = "/dev/disk/by-uuid/89db7e45-7b7e-44ec-bebc-a02935cc5ba0";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
{ device = "/dev/disk/by-uuid/060C-8772";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
2022-11-29 10:14:26 +08:00
|
|
|
nix.settings.max-jobs = lib.mkDefault 16;
|
2020-06-20 17:54:21 +08:00
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
2021-01-03 16:01:15 +08:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
2020-06-20 17:54:21 +08:00
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2021-10-31 16:09:08 +08:00
|
|
|
|
2023-06-06 16:16:35 +08:00
|
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
|
2021-10-31 16:09:08 +08:00
|
|
|
system.stateVersion = "19.03";
|
2020-06-20 17:54:21 +08:00
|
|
|
}
|