universe/hosts/Infini-SWIFT/hardware-configuration.nix

33 lines
689 B
Nix

{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
fileSystems."/" = {
device = "/dev/disk/by-uuid/4a964f22-e270-42df-ae54-00f91d89edd9";
fsType = "ext4";
};
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/6836-6848";
fsType = "vfat";
};
swapDevices = [
{
device = "/dev/disk/by-uuid/8d0f13e7-135e-4dfd-9090-fabf1fc406c2";
}
];
}