2021-11-25 11:55:30 +00:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2021-12-11 05:37:27 +00:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2021-11-25 11:55:30 +00:00
|
|
|
|
|
2021-12-11 05:37:27 +00:00
|
|
|
|
boot.initrd.availableKernelModules =
|
2022-07-05 14:05:59 +00:00
|
|
|
|
[ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
2021-11-25 11:55:30 +00:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-12-11 05:37:27 +00:00
|
|
|
|
fileSystems."/" = {
|
2021-12-26 10:43:49 +00:00
|
|
|
|
label = "root";
|
2021-12-11 05:37:27 +00:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2021-11-25 11:55:30 +00:00
|
|
|
|
|
2021-12-11 05:37:27 +00:00
|
|
|
|
fileSystems."/boot" = {
|
2021-12-26 10:43:49 +00:00
|
|
|
|
label = "boot";
|
2021-12-11 05:37:27 +00:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2021-11-25 11:55:30 +00:00
|
|
|
|
|
2021-12-11 05:37:27 +00:00
|
|
|
|
swapDevices = [{ label = "swap"; }];
|
2021-11-25 11:55:30 +00:00
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2022-07-05 14:05:59 +00:00
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault true;
|
2021-11-25 11:55:30 +00:00
|
|
|
|
}
|