2023-09-09 19:22:11 +02:00
|
|
|
{...}: {
|
2024-10-26 14:59:00 +02:00
|
|
|
imports = [
|
|
|
|
../../modules/amd-graphics.nix
|
|
|
|
];
|
2023-09-11 21:49:40 +02:00
|
|
|
config = {
|
2024-10-26 14:59:00 +02:00
|
|
|
# amd cpu
|
|
|
|
boot.kernelModules = ["kvm-amd"];
|
|
|
|
hardware.cpu.amd.updateMicrocode = true;
|
2023-09-24 10:15:53 +02:00
|
|
|
|
2023-09-09 15:21:27 +02:00
|
|
|
boot = {
|
|
|
|
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; # "usb_storage"
|
|
|
|
loader.efi.efiSysMountPoint = "/boot";
|
|
|
|
};
|
|
|
|
|
2024-10-26 17:30:11 +02:00
|
|
|
fileSystems = import ./fstab.nix;
|
2023-09-09 15:21:27 +02:00
|
|
|
swapDevices = [];
|
2024-10-26 17:30:11 +02:00
|
|
|
|
2024-10-27 10:42:23 +01:00
|
|
|
networking.interfaces.eno1.wakeOnLan.enable = true;
|
2023-09-09 19:37:08 +02:00
|
|
|
};
|
2023-09-09 15:21:27 +02:00
|
|
|
}
|