added config for personal laptop, now named Harmatan.

This commit is contained in:
Gabe Venberg 2025-10-12 21:17:19 +02:00
parent f1f3b12688
commit eecc4e40ea
8 changed files with 186 additions and 65 deletions

View file

@ -0,0 +1,16 @@
{config, ...}: {
config.hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
nixpkgs.hostPlatform = "x86_64-linux";
hardware.cpu.amd.updateMicrocode = config.hardware.enableRedistributableFirmware;
zramSwap = {
enable = true;
priority = 5;
};
}