nixos-config/hardware-configuration/desktop.nix

27 lines
882 B
Nix
Raw Normal View History

2022-01-06 21:14:02 -05: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, ... }:
{
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."/" =
{ device = "/dev/disk/by-uuid/c8abae41-67ba-47b0-ab99-df5c152b4866";
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;
}