This commit is contained in:
stubdesu 2024-01-15 16:09:39 +07:00
parent 9272749b6f
commit 0f75981120
15 changed files with 129 additions and 31 deletions

14
hosts/anemone/kernel.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }: {
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
initrd.kernelModules = [ "amdgpu" ];
kernelModules = [ "kvm-amd" ];
kernelPackages = lib.mkForce (pkgs.linuxPackagesFor pkgs.me.linux-lava);
};
hardware.cpu.amd.updateMicrocode = true;
}