28 lines
843 B
Nix
28 lines
843 B
Nix
{ config, lib, modulesPath, ... }: {
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
boot.initrd.availableKernelModules =
|
|
[ "ahci" "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
# fileSystems."/" = {
|
|
# device = "/dev/disk/by-uuid/b78f591c-c9b6-4dae-9837-56716d38990b";
|
|
# fsType = "ext4";
|
|
# };
|
|
|
|
# fileSystems."/boot" = {
|
|
# device = "/dev/disk/by-uuid/6936-84C2";
|
|
# fsType = "vfat";
|
|
# };
|
|
|
|
# swapDevices =
|
|
# [{ device = "/dev/disk/by-uuid/79fbd322-e58d-4e45-8969-06ef494cefea"; }];
|
|
|
|
networking.useDHCP = false;
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode =
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|