You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
704 B

{
imports = [
../common/optional/ephemeral-btrfs.nix
];
boot = {
initrd = {
availableKernelModules = [ "nvme" "xhci_pci" "ahci" "rtsx_usb_sdmmc" "usbhid" ];
kernelModules = [ "kvm-intel" ];
};
loader = {
systemd-boot = {
enable = true;
consoleMode = "max";
};
efi.canTouchEfiVariables = true;
};
};
fileSystems = {
"/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
};
swapDevices = [{
device = "/swap/swapfile";
size = 8196;
}];
nixpkgs.hostPlatform.system = "x86_64-linux";
hardware.cpu.intel.updateMicrocode = true;
powerManagement.cpuFreqGovernor = "powersave";
}