24 lines
599 B
Nix
24 lines
599 B
Nix
{ ... }:
|
|
{
|
|
flake.modules.nixos.controlstation = {
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
"nvme"
|
|
"xhci_pci"
|
|
"ahci"
|
|
"usbhid"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
];
|
|
boot.initrd.kernelModules = [ "nct6775" ];
|
|
boot.kernelParams = [ "processor.max_cstate=2" "nvme_core.default_ps_max_latency_us=0" "pcie_aspm=off" "pcie_ports=native" "amdgpu.ppfeaturemask=0xfff7ffff" ];
|
|
boot.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
swapDevices = [
|
|
{
|
|
device = "/dev/disk/by-uuid/3d092800-8960-4adc-af4c-3c0df203b945";
|
|
}
|
|
];
|
|
};
|
|
}
|