dotfiles/systems/x86_64-linux/framework/hardware-configuration.nix
alejandro-angulo ddc7e7c818
Some checks are pending
Build NixOS Configurations / build (carbon) (push) Waiting to run
Build NixOS Configurations / build (git) (push) Waiting to run
Build NixOS Configurations / build (gospel) (push) Waiting to run
Build NixOS Configurations / build (node) (push) Waiting to run
Fix amdgpu not loading properly
Not sure which specific change fixed it but it's working now
2026-04-12 19:41:47 -07:00

42 lines
836 B
Nix

{
config,
lib,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"thunderbolt"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "UUID=00a14ad6-5635-4b54-b7e2-a35943639bb8";
fsType = "bcachefs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/66E9-291D";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ { device = "/dev/disk/by-label/SWAP"; } ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}