aboutsummaryrefslogblamecommitdiff
path: root/profiles/hardware/framework-desktop.nix
blob: 85580d1cf745b5b0f62db9ff38cf466b790521c9 (plain) (tree)





























                                                                              
{ inputs, ... }:
{
  imports = [
    inputs.nixos-hardware.nixosModules.framework-desktop-amd-ai-max-300-series
  ];

  boot.loader.efi.canTouchEfiVariables = true;
  boot.loader.systemd-boot.enable = true;

  boot.kernelModules = [
    "kvm-amd"
    "k10temp"
    "nct6775"
  ];

  boot.initrd.availableKernelModules = [
    "nvme"
    "r8169" # ethernet driver
    "sd_mod"
    "thunderbolt"
    "usb_storage"
    "usbhid"
    "xhci_pci"
  ];

  services.fwupd.enable = true;

  hardware.enableRedistributableFirmware = true;
  hardware.cpu.amd.updateMicrocode = true;
}