{ config, lib, ... }: { boot = { initrd = { availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ]; kernelModules = [ ]; }; kernelModules = [ "kvm-intel" ]; extraModulePackages = [ ]; }; fileSystems = { "/boot" = { device = "/dev/disk/by-uuid/4A39-D0DF"; fsType = "vfat"; }; "/" = { device = "/dev/disk/by-uuid/4bd7389a-464c-4bd1-b515-7f578400d4ea"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd" "noatime" ]; }; "/nix" = { device = "/dev/disk/by-uuid/4bd7389a-464c-4bd1-b515-7f578400d4ea"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" ]; }; "/persist" = { device = "/dev/disk/by-uuid/4bd7389a-464c-4bd1-b515-7f578400d4ea"; fsType = "btrfs"; options = [ "subvol=persist" "compress=zstd" "noatime" ]; }; }; swapDevices = [ { device = "/swap/swapfile"; } ]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }