nixos-config/machines/cray/hardware-configuration.nix

31 lines
945 B
Nix
Raw Normal View History

2022-01-24 21:40:22 +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, ... }:
{
2022-01-25 00:13:49 +00:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2022-01-24 21:40:22 +00:00
2022-01-25 00:13:49 +00:00
boot.initrd.availableKernelModules =
[ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
2022-01-24 21:40:22 +00:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2022-01-25 00:13:49 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/1d2ce540-2fce-4621-8a4d-e05e09369bc3";
fsType = "ext4";
};
2022-01-24 21:40:22 +00:00
2022-01-25 00:13:49 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/782C-3B0B";
fsType = "vfat";
};
2022-01-24 21:40:22 +00:00
swapDevices =
2022-01-25 00:13:49 +00:00
[{ device = "/dev/disk/by-uuid/6a0a9641-00c5-490e-abcc-9efeaeaca1f8"; }];
2022-01-24 21:40:22 +00:00
2022-01-25 00:13:49 +00:00
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-01-24 21:40:22 +00:00
}