2021-12-16 00:40:44 +01:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
2021-12-16 06:06:57 +01:00
|
|
|
imports = [
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
2021-12-16 00:40:44 +01:00
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
|
2021-12-16 06:06:57 +01:00
|
|
|
boot.initrd.kernelModules = [];
|
2021-12-16 00:40:44 +01:00
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2021-12-16 06:06:57 +01:00
|
|
|
boot.extraModulePackages = [];
|
2021-12-16 00:40:44 +01:00
|
|
|
|
2021-12-16 06:06:57 +01:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/b8b911ee-e9b9-40ea-89d6-551f11350e7b";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
2021-12-16 00:40:44 +01:00
|
|
|
|
2021-12-16 06:06:57 +01:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/A7EA-369C";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2021-12-16 00:40:44 +01:00
|
|
|
|
2021-12-16 06:06:57 +01:00
|
|
|
swapDevices = [
|
|
|
|
{ device = "/dev/disk/by-uuid/b87e2b8f-c835-4179-a428-fe466a846df0"; }
|
|
|
|
];
|
2021-12-16 00:40:44 +01:00
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|