dot_testing/boxes/mainsail/hardware-configuration.nix

33 lines
1.0 KiB
Nix
Raw Normal View History

2023-12-28 15:28:48 -06: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, ... }:
{
imports =
2024-01-21 12:07:54 -06:00
[ (modulesPath + "/installer/scan/not-detected.nix")
2023-12-28 15:28:48 -06:00
];
2024-01-21 12:07:54 -06:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "ums_realtek" "sd_mod" ];
2023-12-28 15:28:48 -06:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2024-01-21 12:07:54 -06:00
{ device = "/dev/disk/by-uuid/948aeaf8-cb7e-4f85-ae3e-1bc6a25ec156";
2023-12-28 15:28:48 -06:00
fsType = "ext4";
};
2024-01-21 12:07:54 -06:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/617cb1ae-a788-429a-b0d4-63d46d8a4e1b";
fsType = "ext4";
};
2023-12-28 15:28:48 -06:00
2024-01-21 12:07:54 -06:00
swapDevices =
[ { device = "/dev/disk/by-uuid/d82ae76c-68f4-4e70-9162-5dab5f84375b"; }
];
2023-12-28 15:28:48 -06:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2024-01-21 12:07:54 -06:00
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2023-12-28 15:28:48 -06:00
}