added config for personal laptop, now named Harmatan.
This commit is contained in:
parent
f1f3b12688
commit
eecc4e40ea
8 changed files with 186 additions and 65 deletions
16
hosts/harmatan/hardware-config.nix
Normal file
16
hosts/harmatan/hardware-config.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue