nixos-config/hardware-configuration/earth.nix

24 lines
694 B
Nix
Raw Permalink Normal View History

2022-01-06 21:14:02 -05:00
{ config, lib, pkgs, modulesPath, ... }:
{
2023-02-11 19:57:20 -05:00
boot.loader.grub.useOSProber = true;
2022-01-06 21:14:02 -05:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-07-24 01:49:55 -04:00
{ device = "/dev/disk/by-uuid/c75eaa4d-9658-48e7-a2b3-1c6725ef8516";
2022-01-06 21:14:02 -05:00
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C7D1-82A6";
fsType = "vfat";
};
swapDevices = [ ];
hardware.enableRedistributableFirmware = lib.mkDefault true;
2022-01-06 21:14:02 -05:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}