hardware config

This commit is contained in:
Porta 2026-10-10 21:46:33 +10:00
parent 3be02a1783
commit 80c9a447a1
3 changed files with 8 additions and 15 deletions

View file

@ -118,22 +118,11 @@
};
flake.nixosModules.fractal-hardware =
{ modulesPath, ... }:
{ ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.kernelModules = [ "kvm-amd" ];
# This tracked root-level file is populated by nixos-generate-config.
imports = [ ../../../../hardware-configuration.nix ];
boot.supportedFilesystems = [ "btrfs" ];
# Add fileSystems and swapDevices here once the NixOS target layout is chosen.
};
}