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

37 lines
1.1 KiB
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" "nvme" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
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/5c29ff32-7186-4bfb-91ba-4bd14a72c7fa";
fsType = "ext4";
};
2022-01-24 21:40:22 +00:00
2022-01-25 00:13:49 +00:00
boot.initrd.luks.devices."cryptroot".device =
"/dev/disk/by-uuid/55265801-0adc-4cde-9e88-a6c4a2a6c8c1";
2022-01-24 21:40:22 +00:00
2022-01-25 00:13:49 +00:00
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/A809-ABDC";
fsType = "vfat";
};
2022-01-24 21:40:22 +00:00
2022-01-25 00:13:49 +00:00
swapDevices = [{
device = "/dev/disk/by-partuuid/706747af-4066-461f-8eac-06339c68f0db";
randomEncryption = true;
}];
2022-01-24 21:40:22 +00:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
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
}