mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
21 lines
453 B
Nix
21 lines
453 B
Nix
{...}: {
|
|
imports = [
|
|
../../modules/amd-graphics.nix
|
|
];
|
|
config = {
|
|
# amd cpu
|
|
boot.kernelModules = ["kvm-amd"];
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
|
|
boot = {
|
|
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; # "usb_storage"
|
|
loader.efi.efiSysMountPoint = "/boot";
|
|
};
|
|
|
|
fileSystems = import ./fstab.nix;
|
|
swapDevices = [];
|
|
|
|
interfaces.eno1.wakeOnLan.enable = true;
|
|
};
|
|
}
|