add kernel modules

This commit is contained in:
Aditya 2023-07-10 17:37:30 +05:30
parent 5f35f2f7b7
commit 0ede7b7899
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU

View file

@ -25,6 +25,13 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
# Kernel modules
boot.kernelModules = [ "kvm-intel" "snd-hda-intel" "i8042" ];
boot.extraModprobeConfig = ''
options snd-hda-intel model=alc255-acer,dell-headset-multi
options i8042 nopnp=1
'';
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;